Lingua

TextClassifierEntityConfig.Builder.SetHints(ICollection<String>) Method

Definition

Sets the hints for the TextClassifier to determine what types of entities to find.

[Android.Runtime.Register("setHints", "(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;", "", ApiSince=29)]
public Android.Views.TextClassifiers.TextClassifierEntityConfig.Builder SetHints(System.Collections.Generic.ICollection<string>? hints);
[<Android.Runtime.Register("setHints", "(Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig$Builder;", "", ApiSince=29)>]
member this.SetHints : System.Collections.Generic.ICollection<string> -> Android.Views.TextClassifiers.TextClassifierEntityConfig.Builder

Parameters

hints
ICollection<String>

Collection: This value may be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the hints for the TextClassifier to determine what types of entities to find. These hints will only be used if includeTypesFromTextClassifier(boolean) is set to be true.

Android reference for android.view.textclassifier.TextClassifier.EntityConfig.Builder.setHints.

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