TextSelection.Request.Builder.SetIncludeTextClassification(Boolean) 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 whether the result includes text classification.
[Android.Runtime.Register("setIncludeTextClassification", "(Z)Landroid/view/textclassifier/TextSelection$Request$Builder;", "", ApiSince=31)]
public Android.Views.TextClassifiers.TextSelection.Request.Builder SetIncludeTextClassification(bool includeTextClassification);
[<Android.Runtime.Register("setIncludeTextClassification", "(Z)Landroid/view/textclassifier/TextSelection$Request$Builder;", "", ApiSince=31)>]
member this.SetIncludeTextClassification : bool -> Android.Views.TextClassifiers.TextSelection.Request.Builder
Parameters
- includeTextClassification
- Boolean
Whether to ask the TextClassifier to classify the suggested selection span and include a TextClassification object in the result.
Returns
This builder.
- Attributes
Remarks
The TextClassifier might not support text classification; in that case, TextSelection.getTextClassification() returns null.
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.