# GetNotificationQuietHoursCallback

public abstract class GetNotificationQuietHoursCallback extends RongIMClient.ResultCallback<T>

获取消息通知免打扰时间的回调。

## Constructors

RongIMClient.GetNotificationQuietHoursCallback
Link copied to clipboard
public void RongIMClient.GetNotificationQuietHoursCallback()

## Functions

onError
Link copied to clipboard
public abstract void onError(RongIMClient.ErrorCode errorCode)
获取消息通知免打扰时间出错。
onSuccess
Link copied to clipboard
public final void onSuccess(String s)
成功时回调。
public abstract void onSuccess(String startTime, int spanMinutes)
获取消息通知免打扰时间成功。

## Inherited functions

onCallback
Link copied to clipboard
public void onCallback(T t)
onFail
Link copied to clipboard
public void onFail(int errorCode)
public void onFail(RongIMClient.ErrorCode errorCode)