Share via


Collator.GetAvailableLocales Method

Definition

Returns an array of all locales for which the getInstance methods of this class can return localized instances.

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

Returns

Locale[]

An array of locales for which localized Collator instances are available.

Attributes

Remarks

Returns an array of all locales for which the getInstance methods of this class can return localized instances.

Java documentation for java.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