Package io.rong.message
Class BlockMessage
-
- All Implemented Interfaces:
public class BlockMessageIntercept Message
Command message class. This message is neither stored nor counted in unread messages.
A command message sent by the server due to sensitive words detected in the message.
Created by yanke on 2021/7/12
-
-
Field Summary
Fields Modifier and Type Field Description public StringblockMsgUIdpublic intsourceTypepublic StringsourceContentpublic final static Creator<BlockMessage>CREATOR
-
Constructor Summary
Constructors Constructor Description BlockMessage(Array<byte> data)BlockMessage(Parcel source)
-
Method Summary
Modifier and Type Method Description StringgetBlockMsgUId()voidsetBlockMsgUId(String blockMsgUId)intgetSourceType()voidsetSourceType(int sourceType)StringgetSourceContent()voidsetSourceContent(String sourceContent)Array<byte>encode()voidwriteToParcel(Parcel dest, int flags)intdescribeContents()MessageBlockTypegetInterceptType()voidsetInterceptType(MessageBlockType type)-
-
Constructor Detail
-
BlockMessage
BlockMessage(Array<byte> data)
-
BlockMessage
BlockMessage(Parcel source)
-
-
Method Detail
-
getBlockMsgUId
String getBlockMsgUId()
-
setBlockMsgUId
void setBlockMsgUId(String blockMsgUId)
-
getSourceType
int getSourceType()
-
setSourceType
void setSourceType(int sourceType)
-
getSourceContent
String getSourceContent()
-
setSourceContent
void setSourceContent(String sourceContent)
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
getInterceptType
MessageBlockType getInterceptType()
-
setInterceptType
void setInterceptType(MessageBlockType type)
-
-
-
-