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

Inherits io.agora.chat.EMBase< T >.

Public Member Functions

String getAckId ()
 
String getMsgId ()
 
String getFrom ()
 
String getContent ()
 
int getCount ()
 
long getTimestamp ()
 

Detailed Description

Returns read recipients for group messages. Calls ChatManager#fetchGroupReadAcks(String, int, String) to return the requested result, for example:

CursorResult<GroupReadAck> result = ChatClient.getInstance().chatManager().fetchGroupReadAcks(msgId, pageSize, startAckId);

Member Function Documentation

◆ getAckId()

String io.agora.chat.GroupReadAck.getAckId ( )

Gets the read receipt ID of group messages.

Returns
The read receipt ID.

◆ getContent()

String io.agora.chat.GroupReadAck.getContent ( )

Gets the read receipt extension. Sends the read receipt passed as the third parameter in ChatManager#ackGroupMessageRead(String, String, String).

Returns
The read receipt extension.

◆ getCount()

int io.agora.chat.GroupReadAck.getCount ( )

Gets the order in which read receipts of group messages are sent.

Returns
The order in which read receipts of group messages are sent.

◆ getFrom()

String io.agora.chat.GroupReadAck.getFrom ( )

Gets the ID of user who sends the read receipt.

Returns
The sender ID.

◆ getMsgId()

String io.agora.chat.GroupReadAck.getMsgId ( )

Returns the group message ID.

Returns
The group message ID.

◆ getTimestamp()

long io.agora.chat.GroupReadAck.getTimestamp ( )

Gets the timestamp of sending read receipts of group messages.

Returns
The timestamp of sending read receipts of group messages.

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