TextClassification.Builder.SetIntent(Intent) Method

Definition

This method was deprecated in API level 28.

[Android.Runtime.Register("setIntent", "(Landroid/content/Intent;)Landroid/view/textclassifier/TextClassification$Builder;", "", ApiSince=26)]
public Android.Views.TextClassifiers.TextClassification.Builder SetIntent(Android.Content.Intent? intent);
[<Android.Runtime.Register("setIntent", "(Landroid/content/Intent;)Landroid/view/textclassifier/TextClassification$Builder;", "", ApiSince=26)>]
member this.SetIntent : Android.Content.Intent -> Android.Views.TextClassifiers.TextClassification.Builder

Parameters

intent
Intent

Intent: This value may be null.

Returns

This value cannot be null.

Attributes

Remarks

This method was deprecated in API level 28. Use addAction(RemoteAction) instead.

Sets the intent for the primary action that may be fired to act on the classified text. NOTE: This field is not parcelled.

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

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