# BlockMessage

public class BlockMessage

拦截消息

命令消息类，此消息不存储不计入未读消息数

发送消息中因含有敏感词,server下发的命令消息

Created by yanke on 2021/7/12

## Constructors

BlockMessage
Link copied to clipboard
public void BlockMessage(Array<byte> data)
public void BlockMessage(Parcel source)

## Properties

blockMsgUId
Link copied to clipboard
public String blockMsgUId
被拦截的消息 Id
CREATOR
Link copied to clipboard
public final static Creator<BlockMessage> CREATOR
sourceContent
Link copied to clipboard
public String sourceContent
源内容。sourceType = 1/2 时返回；1 消息内容，2 扩展内容 目前只支持超级群*
sourceType
Link copied to clipboard
public int sourceType
消息源触发类型。0 默认，原始消息；1 消息修改；2 消息扩展 目前只支持超级群*

## Functions

describeContents
Link copied to clipboard
public int describeContents()
encode
Link copied to clipboard
public Array<byte> encode()
getBlockMsgUId
Link copied to clipboard
public String getBlockMsgUId()
getInterceptType
Link copied to clipboard
public MessageBlockType getInterceptType()
getSourceContent
Link copied to clipboard
public String getSourceContent()
getSourceType
Link copied to clipboard
public int getSourceType()
setBlockMsgUId
Link copied to clipboard
public void setBlockMsgUId(String blockMsgUId)
setInterceptType
Link copied to clipboard
public void setInterceptType(MessageBlockType type)
setSourceContent
Link copied to clipboard
public void setSourceContent(String sourceContent)
setSourceType
Link copied to clipboard
public void setSourceType(int sourceType)
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)