TextClassifierEvent.Builder.SetEntityTypes(String[]) Method

Definition

Sets the entity types.

[Android.Runtime.Register("setEntityTypes", "([Ljava/lang/String;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetEntityTypes_arrayLjava_lang_String_Handler", ApiSince=29)]
public virtual Java.Lang.Object SetEntityTypes(params string[] entityTypes);
[<Android.Runtime.Register("setEntityTypes", "([Ljava/lang/String;)Landroid/view/textclassifier/TextClassifierEvent$Builder;", "GetSetEntityTypes_arrayLjava_lang_String_Handler", ApiSince=29)>]
abstract member SetEntityTypes : string[] -> Java.Lang.Object
override this.SetEntityTypes : string[] -> Java.Lang.Object

Parameters

entityTypes
String[]

String: This value cannot be null.

Returns

This value cannot be null.

Attributes

Remarks

Sets the entity types. e.g. TextClassifier.TYPE_ADDRESS. Supported types: See TextClassifier types See ConversationAction types See ULocale.toLanguageTag()

Android reference for android.view.textclassifier.TextClassifierEvent.Builder.setEntityTypes.

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