Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.ConversationListener Interface Reference

Public Member Functions

void onConversationUpdate ()
 
void onConversationRead (String from, String to)
 

Detailed Description

The listener when conversation changed or received the conversation receipt.

Member Function Documentation

◆ onConversationRead()

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.

Parameters
fromThe user who sends the read receipt.
toThe user who receives the read receipt.

◆ onConversationUpdate()

void io.agora.ConversationListener.onConversationUpdate ( )

Occurs when the conversation updated.


The documentation for this interface was generated from the following file: