Instance Methods | |
(void) | - onSyncServerStart |
(void) | - onSyncServerFinish |
(void) | - onSyncServerFailed |
(void) | - onNewConversation: |
(void) | - onConversationChanged: |
(void) | - onConversationDeleted: |
(void) | - onTotalUnreadMessageCountChanged: |
(void) | - onUnreadMessageCountChangedByFilter:totalUnreadCount: |
(void) | - onConversationGroupCreated:conversationList: |
(void) | - onConversationGroupDeleted: |
(void) | - onConversationGroupNameChanged:newName: |
(void) | - onConversationsAddedToGroup:conversationList: |
(void) | - onConversationsDeletedFromGroup:conversationList: |
|
optional |
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.
|
optional |
When server conversation synchronization is completed, if there are conversation changes, the SDK notifies users of the changes via onNewConversation or onConversationChanged callback.
|
optional |
Server conversation synchronization failed
|
optional |
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.
|
optional |
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.
|
optional |
Notify conversations are deleted (supported by 7.2 and later versions)
|
optional |
Notify the changes of the total unread message count of all conversations (supported by 5.3.425 and later versions)
|
optional |
Notify the changes of the total unread message count of conversations by filter (supported by 7.0 and later versions)
|
optional |
Conversation group has been created.
|
optional |
Conversation group has been deleted.
|
optional |
Conversation group name has been chaned.
|
optional |
New conversations have been added to this conversation group.
|
optional |
Conversations have been deleted from this conversation group.