Package io.rong.imkit.feature.mention

## Interface IExtensionEventWatcher

- All Implemented Interfaces:

      public interface IExtensionEventWatcher

- - ### 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` | `onTextChanged(Context context, ConversationType type, String targetId, int cursorPos, int count, String text)` | 输入框文本变化时的回调
    `abstract void` | `onSendToggleClick(Message message)` | Extension 模块点击发送按钮时的预处理，其它模块可以通过此回调设置附加信息到 Extension
    `abstract void` | `onDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)` |
    `abstract void` | `onDestroy(ConversationType type, String targetId)` |

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

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

- - ### Constructor Detail

  - ### Method Detail

    - #### onTextChanged

           abstract void onTextChanged(Context context, ConversationType type, String targetId, int cursorPos, int count, String text)

      输入框文本变化时的回调

    - #### onSendToggleClick

           abstract void onSendToggleClick(Message message)

      Extension 模块点击发送按钮时的预处理，其它模块可以通过此回调设置附加信息到 Extension

      Parameters:
        `message` - extension 模块点击发送按钮时构建的初始消息。其它模块可以更改该消息里的配置。

    - #### onDeleteClick

           abstract void onDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)

    - #### onDestroy

           abstract void onDestroy(ConversationType type, String targetId)