toggle menu
Android-IMLib-SDK
15.14.0
io.rong.imlib
switch theme
search in API
Android-IMLib-SDK
/
io.rong.imlib
/
RongIMClient
/
GetNotificationQuietHoursCallback
Get
Notification
Quiet
Hours
Callback
public
abstract
class
GetNotificationQuietHoursCallback
extends
RongIMClient.ResultCallback
<
T
>
Callback for retrieving the Do Not Disturb time settings for message notifications.
Members
Constructors
Rong
IMClient.
Get
Notification
Quiet
Hours
Callback
Link copied to clipboard
public
void
RongIMClient.GetNotificationQuietHoursCallback
(
)
Functions
on
Error
Link copied to clipboard
public
abstract
void
onError
(
RongIMClient.ErrorCode
errorCode
)
Error occurred while retrieving the Do Not Disturb time for message notifications.
on
Success
Link copied to clipboard
public
final
void
onSuccess
(
String
s
)
Callback triggered on success.
public
abstract
void
onSuccess
(
String
startTime
,
int spanMinutes
)
Successfully retrieved the Do Not Disturb time for message notifications.
Inherited functions
on
Callback
Link copied to clipboard
public
void
onCallback
(
T
t
)
on
Fail
Link copied to clipboard
public
void
onFail
(
int errorCode
)
public
void
onFail
(
RongIMClient.ErrorCode
errorCode
)