SelectionEvent.EntityType Property

Definition

Returns the type of entity that is associated with this event.

public string EntityType { [Android.Runtime.Register("getEntityType", "()Ljava/lang/String;", "", ApiSince=28)] [Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber" }, Type="Android.Views.TextClassifiers.ITextClassifier")] get; }
public string EntityType { [Android.Runtime.Register("getEntityType", "()Ljava/lang/String;", "", ApiSince=28)] [Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber", "TypeOtp" }, Type="Android.Views.TextClassifiers.ITextClassifier")] get; }
[<get: Android.Runtime.Register("getEntityType", "()Ljava/lang/String;", "", ApiSince=28)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber" }, Type="Android.Views.TextClassifiers.ITextClassifier")>]
member this.EntityType : string
[<get: Android.Runtime.Register("getEntityType", "()Ljava/lang/String;", "", ApiSince=28)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber", "TypeOtp" }, Type="Android.Views.TextClassifiers.ITextClassifier")>]
member this.EntityType : string

Property Value

Value is one of the following: TextClassifier.TYPE_UNKNOWN TextClassifier.TYPE_OTHER TextClassifier.TYPE_EMAIL TextClassifier.TYPE_PHONE TextClassifier.TYPE_ADDRESS TextClassifier.TYPE_URL TextClassifier.TYPE_DATE TextClassifier.TYPE_DATE_TIME TextClassifier.TYPE_FLIGHT_NUMBER TextClassifier.TYPE_OTP TextClassifier.TYPE_SMS_RETRIEVER_OTP TextClassifier.TYPE_SMS_WEB_OTP . This value cannot be null.

Attributes

Remarks

Returns the type of entity that is associated with this event. e.g. TextClassifier.TYPE_EMAIL.

Android reference for android.view.textclassifier.SelectionEvent.getEntityType.

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