Package io.rong.imkit.notification

## Class RongNotificationManager

- All Implemented Interfaces:

      public class RongNotificationManager

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static RongNotificationManager` | `getInstance()` |
    `void` | `init(Application application)` |
    `boolean` | `isInCurrentUserConversationPage(Message message)` |
    `void` | `setNotificationQuietHours(String startTime, int spanMinutes, OperationCallback callback)` | 设置会话通知免打扰时间。
    `void` | `getNotificationQuietHours(GetNotificationQuietHoursCallback callback)` | 获取会话通知免打扰时间。
    `void` | `removeNotificationQuietHours(OperationCallback callback)` |
    `void` | `)>getConversationNotificationStatus(ConversationIdentifier conversationIdentifier, ResultCallback<ConversationNotificationStatus> callback)` |
    `void` | `clearAllNotification()` | 清除所有通知
    `void` | `onUserUpdate(UserInfo user)` |
    `void` | `onGroupUpdate(Group group)` |
    `void` | `onGroupUserInfoUpdate(GroupUserInfo groupUserInfo)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### getInstance

           static RongNotificationManager getInstance()

    - #### init

           void init(Application application)

    - #### isInCurrentUserConversationPage

           boolean isInCurrentUserConversationPage(Message message)

    - #### setNotificationQuietHours

           void setNotificationQuietHours(String startTime, int spanMinutes, OperationCallback callback)

      设置会话通知免打扰时间。

      Parameters:
        `startTime` - 起始时间 格式 HH:MM:SS。
        `spanMinutes` - 间隔分钟数大于 0 小于 1440。
        `callback` - 设置会话通知免打扰时间回调。

    - #### getNotificationQuietHours

           void getNotificationQuietHours(GetNotificationQuietHoursCallback callback)

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

    - #### removeNotificationQuietHours

           void removeNotificationQuietHours(OperationCallback callback)

    - #### getConversationNotificationStatus

           void )>getConversationNotificationStatus(ConversationIdentifier conversationIdentifier, ResultCallback<ConversationNotificationStatus> callback)

    - #### clearAllNotification

           void clearAllNotification()

      清除所有通知

    - #### onUserUpdate

           void onUserUpdate(UserInfo user)

    - #### onGroupUpdate

           void onGroupUpdate(Group group)

    - #### onGroupUserInfoUpdate

           void onGroupUserInfoUpdate(GroupUserInfo groupUserInfo)