Package io.rong.message
Class MessageExpansionMessage
-
- All Implemented Interfaces:
public class MessageExpansionMessage
消息扩展存储消息类
命令消息类,此消息不存储不计入未读消息数。
-
-
Field Summary
Fields Modifier and Type Field Description public String
originalMsgUId
public Map<String, String>
updateExpansion
public List<String>
removeExpansionKeyList
public final static Creator<MessageExpansionMessage>
CREATOR
-
Constructor Summary
Constructors Constructor Description MessageExpansionMessage(Array<byte> data)
-
Method Summary
Modifier and Type Method Description String
getOriginalMsgUId()
void
setOriginalMsgUId(String originalMsgUId)
Map<String, String>
getUpdateExpansion()
List<String>
getRemoveExpansionKeyList()
void
setRemoveExpansionKeyList(List<String> removeExpansionKeyList)
static MessageExpansionMessage
obtain(String originalMsgUId, Map<String, String> updateExpansion)
static MessageExpansionMessage
obtain(String originalMsgUId, List<String> removeExpansionKeyList)
static MessageExpansionMessage
obtain(String originalMsgUId, boolean removeAllKeys)
Array<byte>
encode()
void
writeToParcel(Parcel dest, int flags)
int
describeContents()
void
setUpdateExpansionDic(Map<String, String> updateExpansion)
boolean
isRemoveAllKeys()
void
setRemoveAllKeys(boolean removeAllKeys)
-
-
Constructor Detail
-
MessageExpansionMessage
MessageExpansionMessage(Array<byte> data)
-
-
Method Detail
-
getOriginalMsgUId
String getOriginalMsgUId()
-
setOriginalMsgUId
void setOriginalMsgUId(String originalMsgUId)
-
getUpdateExpansion
Map<String, String> getUpdateExpansion()
-
getRemoveExpansionKeyList
List<String> getRemoveExpansionKeyList()
-
setRemoveExpansionKeyList
void setRemoveExpansionKeyList(List<String> removeExpansionKeyList)
-
obtain
static MessageExpansionMessage obtain(String originalMsgUId, Map<String, String> updateExpansion)
-
obtain
static MessageExpansionMessage obtain(String originalMsgUId, List<String> removeExpansionKeyList)
-
obtain
static MessageExpansionMessage obtain(String originalMsgUId, boolean removeAllKeys)
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
setUpdateExpansionDic
void setUpdateExpansionDic(Map<String, String> updateExpansion)
-
isRemoveAllKeys
boolean isRemoveAllKeys()
-
setRemoveAllKeys
void setRemoveAllKeys(boolean removeAllKeys)
-
-
-
-