Lingua

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

int

Returns

the entity type at the provided index

Attributes

Remarks

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

Android reference for android.view.textclassifier.TextLinks.TextLink.getEntity.

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