Package io.rong.imlib
Class IRongCoreCallback.GetNotificationQuietHoursCallback
-
- All Implemented Interfaces:
public abstract class IRongCoreCallback.GetNotificationQuietHoursCallback extends IRongCoreCallback.ResultCallback<T>
Callback for retrieving the Do Not Disturb time for message notifications.
-
-
Constructor Summary
Constructors Constructor Description IRongCoreCallback.GetNotificationQuietHoursCallback()
-
Method Summary
Modifier and Type Method Description abstract void
onSuccess(String startTime, int spanMinutes)
Successfully retrieved the Do Not Disturb time for message notifications. final void
onSuccess(String s)
Callback triggered upon success. abstract void
onError(IRongCoreEnum.CoreErrorCode coreErrorCode)
Error occurred while retrieving the Do Not Disturb time for message notifications. -
-
Method Detail
-
onSuccess
abstract void onSuccess(String startTime, int spanMinutes)
Successfully retrieved the Do Not Disturb time for message notifications.
- Parameters:
startTime
- The start time in the format HH:MM:SS.spanMinutes
- The duration in minutes, where 0 <spanMins <1440.
-
onSuccess
final void onSuccess(String s)
Callback triggered upon success.
-
onError
abstract void onError(IRongCoreEnum.CoreErrorCode coreErrorCode)
Error occurred while retrieving the Do Not Disturb time for message notifications.
- Parameters:
coreErrorCode
- Error code for retrieving the Do Not Disturb time for message notifications.
-
-
-
-