Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.embedding.engine.systemchannels.ProcessTextChannel.ProcessTextMethodHandler Interface Reference

Public Member Functions

Map< String, String > queryTextActions ()
 
void processTextAction ( @NonNull String id, @NonNull String input, @NonNull boolean readOnly, @NonNull MethodChannel.Result result)
 

Detailed Description

Definition at line 102 of file ProcessTextChannel.java.

Member Function Documentation

◆ processTextAction()

void io.flutter.embedding.engine.systemchannels.ProcessTextChannel.ProcessTextMethodHandler.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
idThe ID of the text action returned by ProcessText.queryTextActions.
inputThe text to be processed.
readOnlyIndicates 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
resultThe method channel result instance used to reply.

◆ queryTextActions()

Map< String, String > io.flutter.embedding.engine.systemchannels.ProcessTextChannel.ProcessTextMethodHandler.queryTextActions ( )

Requests the map of text actions. Each text action has a unique id and a localized label.


The documentation for this interface was generated from the following file: