Package io.flutter.embedding.engine.systemchannels

# Interface ProcessTextChannel.ProcessTextMethodHandler

Enclosing class:
  ProcessTextChannel

public static interface ProcessTextChannel.ProcessTextMethodHandler

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `processTextAction(String id, String input, boolean readOnly, MethodChannel.Result result)`
  Requests to run a text action on a given input text.
  `Map<String,String>`
  `queryTextActions()`
  Requests the map of text actions.

- ## 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.