Package io.rong.imkit.feature.mention
Interface IExtensionEventWatcher
-
- All Implemented Interfaces:
public interface IExtensionEventWatcher
-
-
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)
-
-
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)
-
-
-
-