Class GroupReadReceiptInfoV2
-
- All Implemented Interfaces:
public class GroupReadReceiptInfoV2Only when using Group Read Receipt V2, this attribute is required for group messages. For V1 or other non-group conversation types, this attribute is NULL.
-
-
Field Summary
Fields Modifier and Type Field Description public List<GroupMessageReader>respondUserIdListpublic intreadCountpublic inttotalCountpublic final static Creator<GroupReadReceiptInfoV2>CREATOR
-
Constructor Summary
Constructors Constructor Description GroupReadReceiptInfoV2()GroupReadReceiptInfoV2(String jsonString)GroupReadReceiptInfoV2(Parcel in)
-
Method Summary
Modifier and Type Method Description List<GroupMessageReader>getRespondUserIdList()Retrieves the list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime). voidsetRespondUserIdList(List<GroupMessageReader> respondUserIdList)Sets the list of members who have responded to the message receipt in the conversation. intgetReadCount()voidsetReadCount(int readCount)intgetTotalCount()voidsetTotalCount(int totalCount)JSONObjecttoJSON()booleanhasRespond()Indicates whether a message receipt response has been sent (valid only for the message receiver). intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()voidsetHasRespond(boolean hasRespond)Sets whether a message receipt response has been sent (only valid for the message receiver). -
-
Method Detail
-
getRespondUserIdList
List<GroupMessageReader> getRespondUserIdList()
Retrieves the list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).
- Returns:
The list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).
-
setRespondUserIdList
void setRespondUserIdList(List<GroupMessageReader> respondUserIdList)
Sets the list of members who have responded to the message receipt in the conversation.
- Parameters:
respondUserIdList- List of members who have responded to the message receipt in the conversation.
-
getReadCount
int getReadCount()
-
setReadCount
void setReadCount(int readCount)
-
getTotalCount
int getTotalCount()
-
setTotalCount
void setTotalCount(int totalCount)
-
toJSON
JSONObject toJSON()
-
hasRespond
boolean hasRespond()
Indicates whether a message receipt response has been sent (valid only for the message receiver).
- Returns:
Indicates whether a message receipt response has been sent (valid only for the message receiver).
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toString
String toString()
-
setHasRespond
void setHasRespond(boolean hasRespond)
Sets whether a message receipt response has been sent (only valid for the message receiver).
- Parameters:
hasRespond- Indicates whether a message receipt response has been sent (only valid for the message receiver).
-
-
-
-