hyphenate_SDK3.0  3.8.6.1
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.EMConversationListener Interface Reference

Public Member Functions

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

Detailed Description

The listener when conversation changed or received the conversation ack

Member Function Documentation

◆ onConversationRead()

void com.hyphenate.EMConversationListener.onConversationRead ( String  from,
String  to 
)

Call back when received conversation read ack

Scenarios to call back this method: (1) Message read by receiver (conversation ack 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, one end sends a Conversation ACK, the server sets the number of unread messages to 0, and the other end calls back this method and sets the isRead property of the message in the conversation to True in the local database.

Parameters
fromUsername who send channel ack
toUsername who receive channel ack

◆ onCoversationUpdate()

void com.hyphenate.EMConversationListener.onCoversationUpdate ( )

Call back when conversation updated


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