Class GroupReadReceiptInfoV2
-
- All Implemented Interfaces:
public class GroupReadReceiptInfoV2
Only 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>
respondUserIdList
public int
readCount
public int
totalCount
public 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). void
setRespondUserIdList(List<GroupMessageReader> respondUserIdList)
Sets the list of members who have responded to the message receipt in the conversation. int
getReadCount()
void
setReadCount(int readCount)
int
getTotalCount()
void
setTotalCount(int totalCount)
JSONObject
toJSON()
boolean
hasRespond()
Indicates whether a message receipt response has been sent (valid only for the message receiver). int
describeContents()
void
writeToParcel(Parcel dest, int flags)
String
toString()
void
setHasRespond(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).
-
-
-
-