setNotificationQuietHoursLevel

public abstract void setNotificationQuietHoursLevel(NotificationQuietHoursSetting setting, IRongCoreCallback.OperationCallback callback)

设置消息通知免打扰时间。

Since

5.14.0。

Parameters

setting

消息通知免打扰时间设置。

callback

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


public abstract void setNotificationQuietHoursLevel(String startTime, int spanMinutes, IRongCoreEnum.PushNotificationQuietHoursLevel level, IRongCoreCallback.OperationCallback callback)

Sets the Do Not Disturb time for message notifications.

Since

5.2.2

Parameters

startTime

The start time in the format HH:MM:SS.

spanMinutes

The duration in minutes from the start time to the end of the Do Not Disturb period. 0

callback

The callback for the Do Not Disturb time setting.