Package io.rong.imlib.chatroom.message
Class ChatRoomSyncMessage
-
- All Implemented Interfaces:
-
android.os.Parcelable
public class ChatRoomSyncMessage extends MessageContent聊天室成员同步事件消息 SDK 内部消息:SDK只能收到该消息,不会发送该消息
会被映射成 ChatRoomSyncEvent
- Since:
5.4.5
-
-
Field Summary
Fields Modifier and Type Field Description public StringchatroomIdpublic longtimepublic intstatuspublic intreasonpublic final static Parcelable.Creator<ChatRoomSyncMessage>CREATORpublic UserInfouserInfopublic MentionedInfomentionedInfopublic booleanisDestructpublic longdestructTimeprotected final static List<String>BASE_KEYSpublic MessageAuditInfoauditInfopublic Array<byte>rawJsonDatapublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description ChatRoomSyncMessage(Array<byte> data)ChatRoomSyncMessage(Parcel in)
-
Method Summary
Modifier and Type Method Description StringgetChatroomId()voidsetChatroomId(String chatroomId)longgetTime()voidsetTime(long time)intgetStatus()voidsetStatus(int status)intgetReason()voidsetReason(int reason)Array<byte>encode()voidwriteToParcel(Parcel dest, int flags)intdescribeContents()List<String>getSearchableWord()-
Methods inherited from class io.rong.imlib.model.MessageContent
getAuditInfo, getBaseJsonObject, getDestructTime, getExtra, getJSONDestructInfo, getJSONUserInfo, getJsonMentionInfo, getMentionedInfo, getRawJsonData, getUserInfo, isDestruct, parseBaseJsonObject, parseJsonToDestructInfo, parseJsonToMentionInfo, parseJsonToUserInfo, readFromBaseInfoParcel, setAuditInfo, setDestruct, setDestructTime, setExtra, setMentionedInfo, setRawJsonData, setUserInfo, writeToBaseInfoParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ChatRoomSyncMessage
ChatRoomSyncMessage(Array<byte> data)
-
ChatRoomSyncMessage
ChatRoomSyncMessage(Parcel in)
-
-
Method Detail
-
getChatroomId
String getChatroomId()
-
setChatroomId
void setChatroomId(String chatroomId)
-
getTime
long getTime()
-
setTime
void setTime(long time)
-
getStatus
int getStatus()
-
setStatus
void setStatus(int status)
-
getReason
int getReason()
-
setReason
void setReason(int reason)
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
getSearchableWord
List<String> getSearchableWord()
-
-
-
-