public interface IExtensionEventWatcher
| Modifier and Type | Method and Description |
|---|---|
void |
onDeleteClick(Conversation.ConversationType type,
java.lang.String targetId,
android.widget.EditText editText,
int cursorPos) |
void |
onDestroy(Conversation.ConversationType type,
java.lang.String targetId) |
void |
onSendToggleClick(Message message)
Extension 模块点击发送按钮时的预处理,其它模块可以通过此回调设置附加信息到 Extension
|
void |
onTextChanged(android.content.Context context,
Conversation.ConversationType type,
java.lang.String targetId,
int cursorPos,
int count,
java.lang.String text)
输入框文本变化时的回调
|
void onTextChanged(android.content.Context context,
Conversation.ConversationType type,
java.lang.String targetId,
int cursorPos,
int count,
java.lang.String text)
context - type - targetId - cursorPos - count - text - void onSendToggleClick(Message message)
message - extension 模块点击发送按钮时构建的初始消息。其它模块可以更改该消息里的配置。void onDeleteClick(Conversation.ConversationType type,
java.lang.String targetId,
android.widget.EditText editText,
int cursorPos)
void onDestroy(Conversation.ConversationType type,
java.lang.String targetId)