Language

LocaleManager.ApplicationLocales Property

Definition

Returns the UI locales for the calling app. -or- Sets the UI locales for the calling app.

public virtual Android.OS.LocaleList ApplicationLocales { [Android.Runtime.Register("getApplicationLocales", "()Landroid/os/LocaleList;", "GetGetApplicationLocalesHandler", ApiSince=33)] get; [Android.Runtime.Register("setApplicationLocales", "(Landroid/os/LocaleList;)V", "GetSetApplicationLocales_Landroid_os_LocaleList_Handler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getApplicationLocales", "()Landroid/os/LocaleList;", "GetGetApplicationLocalesHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setApplicationLocales", "(Landroid/os/LocaleList;)V", "GetSetApplicationLocales_Landroid_os_LocaleList_Handler", ApiSince=33)>]
member this.ApplicationLocales : Android.OS.LocaleList with get, set

Property Value

This value cannot be null.

Attributes

Remarks

Returns the UI locales for the calling app. Returns a LocaleList.getEmptyLocaleList() if no app-specific locales are set.

Android reference for android.app.LocaleManager.getApplicationLocales.

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