Optional
onSyncServerStart
onSyncServerStart?: (() => void)
Optional
onSyncServerFinish
onSyncServerFinish?: (() => void)
Optional
onSyncServerFailed
onSyncServerFailed?: (() => void)
Optional
onNewConversation
onNewConversation?: ((conversationList) => void)
Type declaration
-
- (conversationList): void
-
Returns void
Optional
onConversationChanged
onConversationChanged?: ((conversationList) => void)
Type declaration
-
- (conversationList): void
-
Returns void
Optional
onConversationDeleted
onConversationDeleted?: ((conversationIDList) => void)
Type declaration
-
- (conversationIDList): void
-
Parameters
-
conversationIDList: string[]
Returns void
Optional
onTotalUnreadMessageCountChanged
onTotalUnreadMessageCountChanged?: ((totalUnreadCount) => void)
Type declaration
-
- (totalUnreadCount): void
-
Returns void
Optional
onUnreadMessageCountChangedByFilter
onUnreadMessageCountChangedByFilter?: ((filter, totalUnreadCount) => void)
Type declaration
-
- (filter, totalUnreadCount): void
-
Returns void
Optional
onConversationGroupCreated
onConversationGroupCreated?: ((groupName, conversationList) => void)
Type declaration
-
- (groupName, conversationList): void
-
Returns void
Optional
onConversationGroupDeleted
onConversationGroupDeleted?: ((groupName) => void)
Type declaration
-
- (groupName): void
-
Returns void
Optional
onConversationGroupNameChanged
onConversationGroupNameChanged?: ((oldName, newName) => void)
Type declaration
-
- (oldName, newName): void
-
Parameters
-
oldName: string
-
newName: string
Returns void
Optional
onConversationsAddedToGroup
onConversationsAddedToGroup?: ((groupName, conversationList) => void)
Type declaration
-
- (groupName, conversationList): void
-
Returns void
Optional
onConversationsDeletedFromGroup
onConversationsDeletedFromGroup?: ((groupName, conversationList, reason) => void)
Type declaration
-
- (groupName, conversationList, reason): void
-
Parameters
-
groupName: string
-
-
reason: number
Returns void
(六)会话事件的监听类