Package io.rong.message

## Class BlockMessage

- All Implemented Interfaces:

      public class BlockMessage

  拦截消息

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

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

  Created by yanke on 2021/7/12

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `blockMsgUId` |
    `public int` | `sourceType` |
    `public String` | `sourceContent` |
    `public final static Creator<BlockMessage>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BlockMessage(Array<byte> data)` |
    `BlockMessage(Parcel source)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getBlockMsgUId()` |
    `void` | `setBlockMsgUId(String blockMsgUId)` |
    `int` | `getSourceType()` |
    `void` | `setSourceType(int sourceType)` |
    `String` | `getSourceContent()` |
    `void` | `setSourceContent(String sourceContent)` |
    `Array<byte>` | `encode()` |
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `int` | `describeContents()` |
    `MessageBlockType` | `getInterceptType()` |
    `void` | `setInterceptType(MessageBlockType type)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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)

    - #### encode

           Array<byte> encode()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()

    - #### getInterceptType

           MessageBlockType getInterceptType()

    - #### setInterceptType

           void setInterceptType(MessageBlockType type)