Package io.rong.imlib

## Interface IRongCoreListener.MessageExpansionListener

- All Implemented Interfaces:

      public interface IRongCoreListener.MessageExpansionListener

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | `onMessageExpansionUpdate(Map<String, String> expansion, Message message)` | 消息扩展信息更改的回调 expansion 只包含更新的键值对，不是全部的数据。如果想获取全部的键值对，请使用 message 的 expansion 属性。
    `abstract void` | `onMessageExpansionRemove(List<String> keyArray, Message message)` | 消息扩展信息删除的回调

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onMessageExpansionUpdate

           abstract void onMessageExpansionUpdate(Map<String, String> expansion, Message message)

      消息扩展信息更改的回调

      expansion 只包含更新的键值对，不是全部的数据。如果想获取全部的键值对，请使用 message 的 expansion 属性。

      Parameters:
        `expansion` - 消息扩展信息中更新的键值对
        `message` - 消息

    - #### onMessageExpansionRemove

           abstract void onMessageExpansionRemove(List<String> keyArray, Message message)

      消息扩展信息删除的回调

      Parameters:
        `keyArray` - 消息扩展信息中删除的键值对 key 列表
        `message` - 消息