ReadReceiptInfo

public class ReadReceiptInfo

Only messages in groups and discussion groups require this attribute; for other types of conversations, this attribute is NULL.

Constructors

Link copied to clipboard
public void ReadReceiptInfo()
public void ReadReceiptInfo(String jsonString)
public void ReadReceiptInfo(Parcel in)

Properties

Link copied to clipboard
public final static Creator<ReadReceiptInfo> CREATOR
Link copied to clipboard
public boolean isReadReceiptMessage
Indicates whether the message requires a receipt.
Link copied to clipboard
public HashMap<String, Long> respondUserIdList
The list of user IDs of members who have responded to the message receipt in the conversation.

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public HashMap<String, Long> getRespondUserIdList()
Retrieves the list of userIds of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).
Link copied to clipboard
public boolean hasRespond()
Indicates whether a message receipt response has been sent (only valid for the message receiver).
Link copied to clipboard
public boolean isReadReceiptMessage()
Indicates whether the message requires a receipt.
Link copied to clipboard
public void setHasRespond(boolean hasRespond)
Sets whether a message receipt response has been sent (only valid for the message receiver).
Link copied to clipboard
public void setIsReadReceiptMessage(boolean isReadReceiptMessage)
Link copied to clipboard
public void setRespondUserIdList(HashMap<String, Long> respondUserIdList)
Sets the list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).
Link copied to clipboard
public JSONObject toJSON()
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)