Udostępnij za pośrednictwem


TextSelection.GetEntity(Int32) Method

Definition

Returns the entity at the specified index.

[Android.Runtime.Register("getEntity", "(I)Ljava/lang/String;", "", ApiSince=26)]
[Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber" }, Type="Android.Views.TextClassifiers.ITextClassifier")]
public string GetEntity (int index);
[<Android.Runtime.Register("getEntity", "(I)Ljava/lang/String;", "", ApiSince=26)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "TypeUnknown", "TypeOther", "TypeEmail", "TypePhone", "TypeAddress", "TypeUrl", "TypeDate", "TypeDateTime", "TypeFlightNumber" }, Type="Android.Views.TextClassifiers.ITextClassifier")>]
member this.GetEntity : int -> string

Parameters

index
Int32

Returns

Attributes

Remarks

Returns the entity at the specified index. Entities are ordered from high confidence to low confidence.

Java documentation for android.view.textclassifier.TextSelection.getEntity(int).

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