语言

TextClassifierEntityConfig.Builder.SetHints(ICollection<String>) 方法

定义

设置 TextClassifier 的提示,以确定要查找的实体类型。

[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

参数

hints
ICollection<String>

集合:此值可能为 null。

返回

此值不能为 null。

特性

注解

设置 TextClassifier 的提示,以确定要查找的实体类型。 仅当 includeTypesFromTextClassifier(boolean) 设置为 true 时,才会使用这些提示。

Android 参考。android.view.textclassifier.TextClassifier.EntityConfig.Builder.setHints

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于