Package io.rong.message

## Class MessageExpansionMessage

- All Implemented Interfaces:

      public class MessageExpansionMessage

  消息扩展存储消息类

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

- - ### Nested Class Summary

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

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

  - ### Enum Constant Summary

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

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

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

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

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

    - #### encode

           Array<byte> encode()

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