public class RongNotificationManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clearAllNotification()
清除所有通知
|
static RongNotificationManager |
getInstance() |
void |
getNotificationQuietHours(RongIMClient.GetNotificationQuietHoursCallback callback)
获取会话通知免打扰时间。
|
void |
init(android.app.Application application) |
void |
removeNotificationQuietHours(RongIMClient.OperationCallback callback) |
void |
setNotificationQuietHours(java.lang.String startTime,
int spanMinutes,
RongIMClient.OperationCallback callback)
设置会话通知免打扰时间。
|
public static RongNotificationManager getInstance()
public void init(android.app.Application application)
public void setNotificationQuietHours(java.lang.String startTime, int spanMinutes, RongIMClient.OperationCallback callback)
startTime
- 起始时间 格式 HH:MM:SS。spanMinutes
- 间隔分钟数大于 0 小于 1440。callback
- 设置会话通知免打扰时间回调。public void getNotificationQuietHours(RongIMClient.GetNotificationQuietHoursCallback callback)
public void removeNotificationQuietHours(RongIMClient.OperationCallback callback)
public void clearAllNotification()