Chat SDK for Android v1.3.1
agora java chat SDK
|
Public Member Functions | |
void | onConversationUpdate () |
void | onConversationRead (String from, String to) |
The listener when conversation changed or received the conversation receipt.
void io.agora.ConversationListener.onConversationRead | ( | String | from, |
String | to | ||
) |
Occurs when received conversation read receipt.
Occurs in the following scenarios: (1) The message is read by the receiver (The conversation receipt is sent). Upon receiving this event, the SDK sets the isAcked
property of the message in the conversation to true
in the local database. (2) In the multi-device login scenario, when one device sends a Conversation receipt, the server will set the number of unread messages to 0, and the callback occurs on the other devices. and sets the isRead
property of the message in the conversation to true
in the local database.
from | The user who sends the read receipt. |
to | The user who receives the read receipt. |
void io.agora.ConversationListener.onConversationUpdate | ( | ) |
Occurs when the conversation updated.