Package io.rong.imkit.notification
Class RongNotificationViewModel
-
- All Implemented Interfaces:
public class RongNotificationViewModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RongNotificationViewModel.NotificationQuietInfo
-
Constructor Summary
Constructors Constructor Description RongNotificationViewModel(Application application)
-
Method Summary
Modifier and Type Method Description void
setNotificationQuietHours(String startTime, int spanMinutes)
void
getNotificationQuietHours(GetNotificationQuietHoursCallback callback)
获取会话通知免打扰时间。 MutableLiveData<OperationResult>
getOperationResult()
MutableLiveData<NotificationQuietInfo>
getQuietInfoLiveData()
-
-
Method Detail
-
setNotificationQuietHours
void setNotificationQuietHours(String startTime, int spanMinutes)
-
getNotificationQuietHours
void getNotificationQuietHours(GetNotificationQuietHoursCallback callback)
获取会话通知免打扰时间。
- Parameters:
callback
- 获取会话通知免打扰时间回调。
-
getOperationResult
MutableLiveData<OperationResult> getOperationResult()
-
getQuietInfoLiveData
MutableLiveData<NotificationQuietInfo> getQuietInfoLiveData()
-
-
-
-