다음을 통해 공유


TextLinks.TextLink.GetEntity(Int32) Method

Definition

Returns the entity type at a given index.

[Android.Runtime.Register("getEntity", "(I)Ljava/lang/String;", "", ApiSince=28)]
public string GetEntity (int index);
[<Android.Runtime.Register("getEntity", "(I)Ljava/lang/String;", "", ApiSince=28)>]
member this.GetEntity : int -> string

Parameters

index
Int32

Returns

the entity type at the provided index

Attributes

Remarks

Returns the entity type at a given index. Entity types are sorted by confidence.

Java documentation for android.view.textclassifier.TextLinks.TextLink.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