hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMMessageReadReceipt Class Reference

Public Member Functions

String getMessageId ()
 
String getConversationId ()
 
boolean isPeerReceipt ()
 
int getReadCount ()
 

Detailed Description

The message read receipt details. Calls EMChatManager#asyncGetGroupMessageReadReceipts(java.util.List, com.hyphenate.EMValueCallBack) to get the read receipt details for a batch of messages from the server, or receives the read receipts in the com.hyphenate.EMMessageListener#onMessageReadReceipts(java.util.List) callback.

Member Function Documentation

◆ getConversationId()

String com.hyphenate.chat.EMMessageReadReceipt.getConversationId ( )

Gets the conversation ID.

Returns
The conversation ID.

◆ getMessageId()

String com.hyphenate.chat.EMMessageReadReceipt.getMessageId ( )

Gets the message ID.

Returns
The message ID.

◆ getReadCount()

int com.hyphenate.chat.EMMessageReadReceipt.getReadCount ( )

Gets the number of group members that have read the message.

Returns
The number of group members that have read the message.

◆ isPeerReceipt()

boolean com.hyphenate.chat.EMMessageReadReceipt.isPeerReceipt ( )

Whether the peer has sent a read receipt for a one-to-one chat message.

Returns
Whether the peer has sent the read receipt:
  • true: Yes;
  • false: No.

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