Package io.rong.imlib
Class RongIMClient.GetNotificationQuietHoursCallback
-
- All Implemented Interfaces:
public abstract class RongIMClient.GetNotificationQuietHoursCallback extends RongIMClient.ResultCallback<T>
Callback for retrieving the Do Not Disturb time settings for message notifications.
-
-
Constructor Summary
Constructors Constructor Description RongIMClient.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 on success. abstract void
onError(RongIMClient.ErrorCode errorCode)
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 <spanMinutes <1440.
-
onSuccess
final void onSuccess(String s)
Callback triggered on success.
-
onError
abstract void onError(RongIMClient.ErrorCode errorCode)
Error occurred while retrieving the Do Not Disturb time for message notifications.
- Parameters:
errorCode
- The error code for retrieving the Do Not Disturb time for message notifications.
-
-
-
-