Package io.rong.imlib
Class IRongCoreCallback.GetNotificationQuietHoursCallbackEx
-
- All Implemented Interfaces:
public abstract class IRongCoreCallback.GetNotificationQuietHoursCallbackEx extends IRongCoreCallback.ResultCallback<T>
-
-
Constructor Summary
Constructors Constructor Description IRongCoreCallback.GetNotificationQuietHoursCallbackEx()
-
Method Summary
Modifier and Type Method Description abstract voidonSuccess(String startTime, int spanMinutes, IRongCoreEnum.PushNotificationQuietHoursLevel level)获取消息通知免打扰时间成功。 final voidonSuccess(String s)成功时回调。 abstract voidonError(IRongCoreEnum.CoreErrorCode coreErrorCode)获取消息通知免打扰时间出错。 -
-
Method Detail
-
onSuccess
abstract void onSuccess(String startTime, int spanMinutes, IRongCoreEnum.PushNotificationQuietHoursLevel level)
获取消息通知免打扰时间成功。
- Parameters:
startTime- 起始时间 格式 HH:MM:SS。spanMinutes- 间隔分钟数 0 <spanMins <1440。
-
onSuccess
final void onSuccess(String s)
成功时回调。
-
onError
abstract void onError(IRongCoreEnum.CoreErrorCode coreErrorCode)
获取消息通知免打扰时间出错。
- Parameters:
coreErrorCode- 获取消息通知免打扰时间错误代码。
-
-
-
-