TextClassificationManager.TextClassifier Property

Definition

Gets or sets the text classifier.

public Android.Views.TextClassifiers.ITextClassifier TextClassifier { [Android.Runtime.Register("getTextClassifier", "()Landroid/view/textclassifier/TextClassifier;", "", ApiSince=26)] get; [Android.Runtime.Register("setTextClassifier", "(Landroid/view/textclassifier/TextClassifier;)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getTextClassifier", "()Landroid/view/textclassifier/TextClassifier;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setTextClassifier", "(Landroid/view/textclassifier/TextClassifier;)V", "", ApiSince=26)>]
member this.TextClassifier : Android.Views.TextClassifiers.ITextClassifier with get, set

Property Value

Attributes

Remarks

Returns the text classifier that was set via setTextClassifier(TextClassifier). If this is null, this method returns a default text classifier (i.e. either the system text classifier if one exists, or a local text classifier running in this process.) Note that requests to the TextClassifier may be handled in an OEM-provided process rather than in the calling app's process.

Sets the text classifier to use.

Android reference for android.view.textclassifier.TextClassificationManager.getTextClassifier.

Android reference for android.view.textclassifier.TextClassificationManager.setTextClassifier.

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