Dela via


TextView.TextClassifier Property

Definition

Returns the TextClassifier used by this TextView. -or- Sets the TextClassifier for this TextView.

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

Property Value

Attributes

Remarks

Property getter documentation:

Returns the TextClassifier used by this TextView. If no TextClassifier has been set, this TextView uses the default set by the TextClassificationManager.

Java documentation for android.widget.TextView.getTextClassifier().

Property setter documentation:

Sets the TextClassifier for this TextView.

Java documentation for android.widget.TextView.setTextClassifier(android.view.textclassifier.TextClassifier).

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