public class RongNotificationViewModel
extends AndroidViewModel
Modifier and Type | Class and Description |
---|---|
class |
RongNotificationViewModel.NotificationQuietInfo |
Constructor and Description |
---|
RongNotificationViewModel(android.app.Application application) |
Modifier and Type | Method and Description |
---|---|
void |
getNotificationQuietHours(RongIMClient.GetNotificationQuietHoursCallback callback)
获取会话通知免打扰时间。
|
<any> |
getOperationResult() |
<any> |
getQuietInfoLiveData() |
void |
setNotificationQuietHours(java.lang.String startTime,
int spanMinutes) |
public RongNotificationViewModel(android.app.Application application)
public void setNotificationQuietHours(java.lang.String startTime, int spanMinutes)
public void getNotificationQuietHours(RongIMClient.GetNotificationQuietHoursCallback callback)
callback
- 获取会话通知免打扰时间回调。public <any> getOperationResult()
public <any> getQuietInfoLiveData()