Partager via


UScript.GetName(Int32) Method

Definition

Returns the long Unicode script name, if there is one.

[Android.Runtime.Register("getName", "(I)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetName (int scriptCode);
[<Android.Runtime.Register("getName", "(I)Ljava/lang/String;", "", ApiSince=24)>]
static member GetName : int -> string

Parameters

scriptCode
Int32

int script code

Returns

long script name as given in PropertyValueAliases.txt, or the 4-letter code

Attributes

Remarks

Returns the long Unicode script name, if there is one. Otherwise returns the 4-letter ISO 15924 script code. Returns "Malayam" given MALAYALAM.

Java documentation for android.icu.lang.UScript.getName(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