Share via


UScript.GetSampleString(Int32) Method

Definition

Returns the script sample character string.

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

Parameters

script
Int32

script code

Returns

the sample character string

Attributes

Remarks

Returns the script sample character string. This string normally consists of one code point but might be longer. The string is empty if the script is not encoded.

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