Interface ProcessTextChannel.ProcessTextMethodHandler
- Enclosing class:
- ProcessTextChannel
public static interface ProcessTextChannel.ProcessTextMethodHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processTextAction
(String id, String input, boolean readOnly, MethodChannel.Result result) Requests to run a text action on a given input text.Requests the map of text actions.
-
Method Details
-
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 byProcessText.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_READONLYresult
- The method channel result instance used to reply.
-