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, ChannelType type, String targetId, int cursorPos, int count, String text) Callback when input field text changes.
      abstract void onSendToggleClick(Message message) Pre-processing when the Extension module's send button is clicked.
      abstract void onDeleteClick(ChannelType type, String targetId, EditText editText, int cursorPos)
      abstract void onDestroy(ChannelType 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, ChannelType type, String targetId, int cursorPos, int count, String text)

        Callback when input field text changes.

        Parameters:
        context - context
        type - channel type
        targetId - target ID
        cursorPos - cursor position
        count - text change count
        text - 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)