Public Member Functions | |
void | onSyncServerStart () |
void | onSyncServerFinish () |
void | onSyncServerFailed () |
void | onNewConversation (List< V2TIMConversation > conversationList) |
void | onConversationChanged (List< V2TIMConversation > conversationList) |
void | onConversationDeleted (List< String > conversationIDList) |
void | onTotalUnreadMessageCountChanged (long totalUnreadCount) |
void | onUnreadMessageCountChangedByFilter (V2TIMConversationListFilter filter, long totalUnreadCount) |
void | onConversationGroupCreated (String groupName, List< V2TIMConversation > conversationList) |
void | onConversationGroupDeleted (String groupName) |
void | onConversationGroupNameChanged (String oldName, String newName) |
void | onConversationsAddedToGroup (String groupName, List< V2TIMConversation > conversationList) |
void | onConversationsDeletedFromGroup (String groupName, List< V2TIMConversation > conversationList) |
|
inline |
When server conversation synchronization starts, the SDK automatically synchronizes server conversations after a successful login or network reconnection. You can monitor such an event and display the event progress on the UI.
|
inline |
When server conversation synchronization is completed, if there are conversation changes, the SDK notifies users of the changes via onNewConversation or onConversationChanged callback.
|
inline |
Server conversation synchronization failed
|
inline |
If there is a new conversation (such as receiving a one-to-one chat message from a new colleague or being added to a new group), use "lastMessage -> timestamp" to sort the conversation list again.
conversationList | Conversation list |
|
inline |
If the key information of some conversations changes (for example, the unread count changes, or the last message is updated), use "lastMessage -> timestamp" to sort the conversation list again.
conversationList | Conversation list |
|
inline |
Notify conversations are deleted (supported by 7.2 and later versions)
|
inline |
Notify the changes of the total unread message count of all conversations (supported by 5.3.425 and later versions)
|
inline |
Notify the changes of the total unread message count of conversations by filter (supported by 7.0 and later versions)
|
inline |
Conversation group has been created.
|
inline |
Conversation group has been deleted.
|
inline |
Conversation group name has been changed
|
inline |
New conversations have been added to this conversation group.
|
inline |
Conversations have been deleted from this conversation group.