ULocale.GetAvailableLocales Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
<strong>[icu] Note:</strong> Unlike the Locale API, this returns an array of ULocale
,
not Locale
.
[Android.Runtime.Register("getAvailableLocales", "()[Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale[]? GetAvailableLocales ();
[<Android.Runtime.Register("getAvailableLocales", "()[Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member GetAvailableLocales : unit -> Android.Icu.Util.ULocale[]
Returns
- Attributes
Remarks
<strong>[icu] Note:</strong> Unlike the Locale API, this returns an array of ULocale
, not Locale
.
Returns a list of all installed locales. This is equivalent to calling #getAvailableLocalesByType
with AvailableType.DEFAULT.
Java documentation for android.icu.util.ULocale.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.