次の方法で共有


Collator.GetAvailableLocales Method

Definition

Returns the set of locales, as Locale objects, for which collators are installed.

[Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "", ApiSince=24)]
public static Java.Util.Locale[]? GetAvailableLocales ();
[<Android.Runtime.Register("getAvailableLocales", "()[Ljava/util/Locale;", "", ApiSince=24)>]
static member GetAvailableLocales : unit -> Java.Util.Locale[]

Returns

Locale[]

the list of locales in which collators are installed. This list includes any that have been registered, in addition to those that are installed with ICU4J.

Attributes

Remarks

Returns the set of locales, as Locale objects, for which collators are installed. Note that Locale objects do not support RFC 3066.

Java documentation for android.icu.text.Collator.getAvailableLocales().

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