TextClassifierEntityConfig.Create 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.
This method was deprecated in API level 29.
[Android.Runtime.Register("create", "(Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig;", "", ApiSince=28)]
public static Android.Views.TextClassifiers.TextClassifierEntityConfig? Create(System.Collections.Generic.ICollection<string>? hints, System.Collections.Generic.ICollection<string>? includedEntityTypes, System.Collections.Generic.ICollection<string>? excludedEntityTypes);
[<Android.Runtime.Register("create", "(Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;)Landroid/view/textclassifier/TextClassifier$EntityConfig;", "", ApiSince=28)>]
static member Create : System.Collections.Generic.ICollection<string> * System.Collections.Generic.ICollection<string> * System.Collections.Generic.ICollection<string> -> Android.Views.TextClassifiers.TextClassifierEntityConfig
Parameters
- hints
- ICollection<String>
Collection: Hints for the TextClassifier to determine what types of entities to find. This value may be null.
- includedEntityTypes
- ICollection<String>
Collection: Entity types, e.g. TextClassifier.TYPE_EMAIL, to explicitly include. This value may be null.
- excludedEntityTypes
- ICollection<String>
Collection: Entity types, e.g. TextClassifier.TYPE_PHONE, to explicitly exclude Note that if an entity has been excluded, the exclusion will take precedence. This value may be null.
Returns
- Attributes
Remarks
This method was deprecated in API level 29. Use Builder instead.
Creates an EntityConfig.
Android reference for android.view.textclassifier.TextClassifier.EntityConfig.create.
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.