Class BaseUiConversation
-
- All Implemented Interfaces:
public abstract class BaseUiConversation
-
-
Field Summary
Fields Modifier and Type Field Description public ConversationmCorepublic SpannablemConversationContent
-
Constructor Summary
Constructors Constructor Description BaseUiConversation(Context context, Conversation conversation)
-
Method Summary
Modifier and Type Method Description voidonDraftUpdate(String draft)ConversationIdentifiergetConversationIdentifier()voidprocessResending(Conversation conversation)ConversationcurrentConversation(String targetId)intgetUnreadMessageCount()abstract voidonUserInfoUpdate(UserInfo user)用户信息更新 abstract voidonGroupInfoUpdate(Group group)群组信息更新 abstract voidonGroupMemberUpdate(GroupUserInfo groupMember)群组成员更新 abstract voidonConversationUpdate(Conversation conversation)会话更新 -
-
Method Detail
-
onDraftUpdate
void onDraftUpdate(String draft)
-
getConversationIdentifier
ConversationIdentifier getConversationIdentifier()
-
processResending
void processResending(Conversation conversation)
-
currentConversation
Conversation currentConversation(String targetId)
-
getUnreadMessageCount
int getUnreadMessageCount()
-
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
-
-
-
-