Share via


TextSelection.TextClassification Property

Definition

Returns the text classification result of the suggested selection span.

public Android.Views.TextClassifiers.TextClassification? TextClassification { [Android.Runtime.Register("getTextClassification", "()Landroid/view/textclassifier/TextClassification;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getTextClassification", "()Landroid/view/textclassifier/TextClassification;", "", ApiSince=31)>]
member this.TextClassification : Android.Views.TextClassifiers.TextClassification

Property Value

Attributes

Remarks

Returns the text classification result of the suggested selection span. Enables the text classification by calling TextSelection.Request.Builder#setIncludeTextClassification(boolean). If the text classifier does not support it, a null is returned.

Java documentation for android.view.textclassifier.TextSelection.getTextClassification().

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