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

  - ### 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
    --- | --- | ---
    `void` | `onDraftUpdate(String draft)` |
    `ConversationIdentifier` | `getConversationIdentifier()` |
    `String` | `getConversationKey()` |
    `void` | `processResending(Conversation conversation)` |
    `Conversation` | `currentConversation(String targetId)` |
    `int` | `getUnreadMessageCount()` |
    `String` | `getDraft()` |
    `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

    - #### 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()

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