Interface ProcessTextChannel.ProcessTextMethodHandler

Enclosing class:
ProcessTextChannel

public static interface ProcessTextChannel.ProcessTextMethodHandler
  • Method Details

    • queryTextActions

      Map<String,String> queryTextActions()
      Requests the map of text actions. Each text action has a unique id and a localized label.
    • processTextAction

      void processTextAction(@NonNull String id, @NonNull String input, @NonNull boolean readOnly, @NonNull MethodChannel.Result result)
      Requests to run a text action on a given input text.
      Parameters:
      id - The ID of the text action returned by ProcessText.queryTextActions.
      input - The text to be processed.
      readOnly - Indicates to the activity if the processed text will be used as read-only. see https://developer.android.com/reference/android/content/Intent#EXTRA_PROCESS_TEXT_READONLY
      result - The method channel result instance used to reply.