Package io.rong.imkit.conversationlist.model

## Class BaseUiConversation

- All Implemented Interfaces:

      public abstract class BaseUiConversation

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public Conversation` | `mCore` |
    `public Spannable` | `mConversationContent` |
    `public ReadReceiptInfoV5` | `readReceiptInfoV5` |
    `public SubscribeUserOnlineStatus` | `onlineStatus` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BaseUiConversation(Context context, Conversation conversation)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `ReadReceiptInfoV5` | `getReadReceiptInfoV5()` |
    `void` | `setReadReceiptInfoV5(ReadReceiptInfoV5 readReceiptInfoV5)` |
    `SubscribeUserOnlineStatus` | `getOnlineStatus()` |
    `void` | `setOnlineStatus(SubscribeUserOnlineStatus onlineStatus)` |
    `void` | `onDraftUpdate(String draft)` |
    `ConversationIdentifier` | `getConversationIdentifier()` |
    `String` | `getConversationKey()` |
    `void` | `processResending(Conversation conversation)` |
    `Conversation` | `currentConversation(String targetId)` |
    `int` | `getUnreadMessageCount()` |
    `String` | `getDraft()` | 获取会话输入框输入的草稿
    `String` | `getDraftContent()` |
    `boolean` | `isShowDraftContent()` | 是否展示会话草稿或者编辑消息草稿
    `abstract void` | `onUserInfoUpdate(UserInfo user)` | 用户信息更新
    `abstract void` | `onGroupInfoUpdate(Group group)` | 群组信息更新
    `abstract void` | `onGroupMemberUpdate(GroupUserInfo groupMember)` | 群组成员更新
    `abstract void` | `onConversationUpdate(Conversation conversation)` | 会话更新

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

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

- - ### Constructor Detail

    - #### BaseUiConversation

          BaseUiConversation(Context context, Conversation conversation)

  - ### Method Detail

    - #### getReadReceiptInfoV5

           ReadReceiptInfoV5 getReadReceiptInfoV5()

    - #### setReadReceiptInfoV5

           void setReadReceiptInfoV5(ReadReceiptInfoV5 readReceiptInfoV5)

    - #### getOnlineStatus

           SubscribeUserOnlineStatus getOnlineStatus()

    - #### setOnlineStatus

           void setOnlineStatus(SubscribeUserOnlineStatus onlineStatus)

    - #### onDraftUpdate

           void onDraftUpdate(String draft)

    - #### getConversationIdentifier

           ConversationIdentifier getConversationIdentifier()

    - #### getConversationKey

           String getConversationKey()

    - #### processResending

           void processResending(Conversation conversation)

    - #### currentConversation

           Conversation currentConversation(String targetId)

    - #### getUnreadMessageCount

           int getUnreadMessageCount()

    - #### getDraft

           String getDraft()

      获取会话输入框输入的草稿

    - #### getDraftContent

           String getDraftContent()

    - #### isShowDraftContent

           boolean isShowDraftContent()

      是否展示会话草稿或者编辑消息草稿

    - #### onUserInfoUpdate

           abstract void onUserInfoUpdate(UserInfo user)

      用户信息更新

      Parameters:
        `user` - UserInfo

    - #### onGroupInfoUpdate

           abstract void onGroupInfoUpdate(Group group)

      群组信息更新

      Parameters:
        `group` - Group

    - #### onGroupMemberUpdate

           abstract void onGroupMemberUpdate(GroupUserInfo groupMember)

      群组成员更新

      Parameters:
        `groupMember` - GroupUserInfo

    - #### onConversationUpdate

           abstract void onConversationUpdate(Conversation conversation)

      会话更新

      Parameters:
        `conversation` - Conversation