Package io.rong.imlib

## Class IRongCoreCallback.GetNotificationQuietHoursCallback

- All Implemented Interfaces:

      public abstract class IRongCoreCallback.GetNotificationQuietHoursCallback
      extends IRongCoreCallback.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
    --- | ---
    `IRongCoreCallback.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(IRongCoreEnum.CoreErrorCode coreErrorCode)` | 获取消息通知免打扰时间出错。

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

      `onCallback, onFail, onFail`

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

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

- - ### Constructor Detail

    - #### IRongCoreCallback.GetNotificationQuietHoursCallback

          IRongCoreCallback.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(IRongCoreEnum.CoreErrorCode coreErrorCode)

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

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