# IExtensionEventWatcher

public interface IExtensionEventWatcher

## Functions

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