Package io.rong.imlib

## Class RongIMClient.GetNotificationQuietHoursCallback

- All Implemented Interfaces:

      public abstract class RongIMClient.GetNotificationQuietHoursCallback
      extends RongIMClient.ResultCallback<T>

  获取消息通知免打扰时间的回调。

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RongIMClient.GetNotificationQuietHoursCallback()` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onSuccess(String startTime, int spanMinutes)` | 获取消息通知免打扰时间成功。
    `final void` | `onSuccess(String s)` | 成功时回调。
    `abstract void` | `onError(RongIMClient.ErrorCode errorCode)` | 获取消息通知免打扰时间出错。

    - ### Methods inherited from class io.rong.imlib.RongIMClient.ResultCallback

      `onCallback, onFail, onFail`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RongIMClient.GetNotificationQuietHoursCallback

          RongIMClient.GetNotificationQuietHoursCallback()

  - ### Method Detail

    - #### onSuccess

           abstract void onSuccess(String startTime, int spanMinutes)

      获取消息通知免打扰时间成功。

      Parameters:
        `startTime` - 起始时间 格式 HH:MM:SS。
        `spanMinutes` - 间隔分钟数 0 <spanMins <1440。

    - #### onSuccess

           final void onSuccess(String s)

      成功时回调。

    - #### onError

           abstract void onError(RongIMClient.ErrorCode errorCode)

      获取消息通知免打扰时间出错。

      Parameters:
        `errorCode` - 获取消息通知免打扰时间错误代码。