TextSelection.Builder.SetTextClassification(TextClassification) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the text classification result of the suggested selection.
[Android.Runtime.Register("setTextClassification", "(Landroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/TextSelection$Builder;", "", ApiSince=31)]
public Android.Views.TextClassifiers.TextSelection.Builder SetTextClassification(Android.Views.TextClassifiers.TextClassification? textClassification);
[<Android.Runtime.Register("setTextClassification", "(Landroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/TextSelection$Builder;", "", ApiSince=31)>]
member this.SetTextClassification : Android.Views.TextClassifiers.TextClassification -> Android.Views.TextClassifiers.TextSelection.Builder
Parameters
- textClassification
- TextClassification
TextClassification: This value may be null.
Returns
this builder
- Attributes
Remarks
Sets the text classification result of the suggested selection. If Request.shouldIncludeTextClassification() is true, set this value. Otherwise this value may be set to null. The intention of this method is to avoid doing expensive work if the client is not interested in such result.
See also:
Android reference for android.view.textclassifier.TextSelection.Builder.setTextClassification.
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.