new EMChatManagerListener()
- Source:
EMChatManagerListener constructor.
Methods
onMessageAttachmentsStatusChanged(callback) → {void}
- Source:
Callback user when attachment download status changed.
Parameters:
Returns:
-
Type
-
void
onMessageStatusChanged(callback) → {void}
- Source:
Callback user when send message successed or failed.
Parameters:
Returns:
-
Type
-
void
onReceiveCmdMessages(callback) → {void}
- Source:
Callback user when receive a list of command messages from remote peer.
Parameters:
Returns:
-
Type
-
void
onReceiveHasDeliveredAcks(callback) → {void}
- Source:
Callback user when receive delivery successed ack for messages.
Parameters:
Returns:
-
Type
-
void
onReceiveHasReadAcks(callback) → {void}
- Source:
Callback user when receive read ack for messages.
Parameters:
Returns:
-
Type
-
void
onReceiveMessages(callback) → {void}
- Source:
Callback user when receive a list of messages from remote peer.
Parameters:
Returns:
-
Type
-
void
onReceiveRecallMessages(callback) → {void}
- Source:
Callback user when receive recall for messages.
Parameters:
Returns:
-
Type
-
void
onUpdateConversationList(callback) → {void}
- Source:
Callback user when conversation list are changed.
Parameters:
Returns:
-
Type
-
void
(inner) ConversationList(conversations) → {void}
- Source:
Parameters:
Name |
Type |
Description |
conversations |
Array
|
EMConversation array. |
Returns:
-
Type
-
void
(inner) MessageAttachmentsStatusChanged(message, error) → {void}
- Source:
Parameters:
Returns:
-
Type
-
void
(inner) ReceiveMessages(messages) → {void}
- Source:
Parameters:
Name |
Type |
Description |
messages |
Array
|
EMMessage array. |
Returns:
-
Type
-
void