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` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RongNotificationViewModel(Application application)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setNotificationQuietHours(String startTime, int spanMinutes)` |
    `void` | `getNotificationQuietHours(GetNotificationQuietHoursCallback callback)` | 获取会话通知免打扰时间。
    `MutableLiveData<OperationResult>` | `getOperationResult()` |
    `MutableLiveData<NotificationQuietInfo>` | `getQuietInfoLiveData()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RongNotificationViewModel

          RongNotificationViewModel(Application application)

  - ### Method Detail

    - #### setNotificationQuietHours

           void setNotificationQuietHours(String startTime, int spanMinutes)

    - #### getNotificationQuietHours

           void getNotificationQuietHours(GetNotificationQuietHoursCallback callback)

      获取会话通知免打扰时间。

      Parameters:
        `callback` - 获取会话通知免打扰时间回调。

    - #### getOperationResult

           MutableLiveData<OperationResult> getOperationResult()

    - #### getQuietInfoLiveData

           MutableLiveData<NotificationQuietInfo> getQuietInfoLiveData()