共用方式為


UScript.GetShortName(Int32) Method

Definition

Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Unicode has names for the script.

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

Parameters

scriptCode
Int32

int script code

Returns

short script name (4-letter code)

Attributes

Remarks

Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Unicode has names for the script. Returns "Mlym" given MALAYALAM.

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