TextClassification.Builder.AddAction(RemoteAction) Method

Definition

Adds an action that may be performed on the classified text.

[Android.Runtime.Register("addAction", "(Landroid/app/RemoteAction;)Landroid/view/textclassifier/TextClassification$Builder;", "", ApiSince=28)]
public Android.Views.TextClassifiers.TextClassification.Builder AddAction(Android.App.RemoteAction action);
[<Android.Runtime.Register("addAction", "(Landroid/app/RemoteAction;)Landroid/view/textclassifier/TextClassification$Builder;", "", ApiSince=28)>]
member this.AddAction : Android.App.RemoteAction -> Android.Views.TextClassifiers.TextClassification.Builder

Parameters

action
RemoteAction

RemoteAction: This value cannot be null.

Returns

This value cannot be null.

Attributes

Remarks

Adds an action that may be performed on the classified text. Actions should be added in order of likelihood that the user will use them, with the most likely action being added first.

Android reference for android.view.textclassifier.TextClassification.Builder.addAction.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to