Optional
onOccurs when a contact event occurs.
Optional
event: ChatMultiDeviceEventThe event type.
Optional
target: stringThe user ID.
Optional
ext: stringThe extension of user information.
Optional
onOccurs when a conversation event occurs.
Optional
event: ChatMultiDeviceEventThe event type.
Optional
convId: stringThe conversation ID.
Optional
convType: ChatConversationTypeThe conversation type.
Optional
onOccurs when a group event occurs.
Optional
event: ChatMultiDeviceEventThe event type.
Optional
target: stringThe group ID.
Optional
usernames: string[]The array of user IDs.
Optional
onOptional
onOccurs when a thread event occurs.
Optional
event: ChatMultiDeviceEventThe event type.
Optional
target: stringThe group ID.
Optional
usernames: string[]The array of user IDs.
The multi-device event listener.
The listener listens for the actions of the current user on other devices, including contact events, group events, thread events, and conversation events.