Package io.rong.imkit.usermanage.handler

## Class ConversationOperationsHandler

- All Implemented Interfaces:

      public class ConversationOperationsHandler

  会话操作类

  注意：使用完毕后需要调用 stop 方法释放资源

  Since:

    5.12.2

  Author:

    rongcloud

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static DataKey<ConversationNotificationStatus>` | `KEY_SET_CONVERSATION_NOTIFICATION_STATUS` |
    `public final static DataKey<Boolean>` | `KEY_SET_CONVERSATION_TO_TOP` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConversationOperationsHandler(ConversationIdentifier conversationIdentifier)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `setConversationNotificationStatus(ConversationNotificationStatus conversationNotificationStatus)` | 设置会话置顶状态
    `void` | `setConversationToTop(boolean isTop)` | 设置会话置顶状态

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

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

- - ### Constructor Detail

    - #### ConversationOperationsHandler

          ConversationOperationsHandler(ConversationIdentifier conversationIdentifier)

  - ### Method Detail

    - #### setConversationNotificationStatus

           void setConversationNotificationStatus(ConversationNotificationStatus conversationNotificationStatus)

      设置会话置顶状态

      Parameters:
        `conversationNotificationStatus` - 会话置顶状态

    - #### setConversationToTop

           void setConversationToTop(boolean isTop)

      设置会话置顶状态

      Parameters:
        `isTop` - 是否置顶