Package io.rong.imlib.model
Class GroupReadReceiptInfoV2
-
- All Implemented Interfaces:
public class GroupReadReceiptInfoV2只有采用群已读回执V2版本,群组的消息才需要此属性,V1版本或其它非群组类型会话中本属性为 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()获取会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。 voidsetRespondUserIdList(List<GroupMessageReader> respondUserIdList)设置会话中响应过该消息回执的成员列表 intgetReadCount()voidsetReadCount(int readCount)intgetTotalCount()voidsetTotalCount(int totalCount)JSONObjecttoJSON()booleanhasRespond()是否发送过消息回执响应(仅对消息接收方有效)。 intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()voidsetHasRespond(boolean hasRespond)设置是否发送过消息回执响应(仅对消息接收方有效)。 -
-
Method Detail
-
getRespondUserIdList
List<GroupMessageReader> getRespondUserIdList()
获取会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。
- Returns:
会话中响应过该消息回执的成员 userId 列表(key: userId,value: respondTime)。
-
setRespondUserIdList
void setRespondUserIdList(List<GroupMessageReader> respondUserIdList)
设置会话中响应过该消息回执的成员列表
- Parameters:
respondUserIdList- 会话中响应过该消息回执的成员列表
-
getReadCount
int getReadCount()
-
setReadCount
void setReadCount(int readCount)
-
getTotalCount
int getTotalCount()
-
setTotalCount
void setTotalCount(int totalCount)
-
toJSON
JSONObject toJSON()
-
hasRespond
boolean hasRespond()
是否发送过消息回执响应(仅对消息接收方有效)。
- Returns:
是否发送过消息回执响应(仅对消息接收方有效)。
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toString
String toString()
-
setHasRespond
void setHasRespond(boolean hasRespond)
设置是否发送过消息回执响应(仅对消息接收方有效)。
- Parameters:
hasRespond- 是否发送过消息回执响应(仅对消息接收方有效)。
-
-
-
-