Interface IExtensionEventWatcher
-
- All Implemented Interfaces:
public interface IExtensionEventWatcher
-
-
Method Summary
Modifier and Type Method Description abstract voidonTextChanged(Context context, ChannelType type, String targetId, int cursorPos, int count, String text)Callback when input field text changes. abstract voidonSendToggleClick(Message message)Pre-processing when the Extension module's send button is clicked. abstract voidonDeleteClick(ChannelType type, String targetId, EditText editText, int cursorPos)abstract voidonDestroy(ChannelType type, String targetId)-
-
Method Detail
-
onTextChanged
abstract void onTextChanged(Context context, ChannelType type, String targetId, int cursorPos, int count, String text)
Callback when input field text changes.
- Parameters:
context- contexttype- channel typetargetId- target IDcursorPos- cursor positioncount- text change counttext- text content
-
onSendToggleClick
abstract void onSendToggleClick(Message message)
Pre-processing when the Extension module's send button is clicked. Other modules can set additional information to Extension through this callback.
- Parameters:
message- the initial message built when the Extension module's send button is clicked.
-
onDeleteClick
abstract void onDeleteClick(ChannelType type, String targetId, EditText editText, int cursorPos)
-
onDestroy
abstract void onDestroy(ChannelType type, String targetId)
-
-
-
-