Configuration.Locale Property
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.
Caution
deprecated
Current user preference for the locale, corresponding to locale resource qualifier.
[Android.Runtime.Register("locale")]
[System.Obsolete("deprecated")]
public Java.Util.Locale? Locale { get; set; }
[<Android.Runtime.Register("locale")>]
[<System.Obsolete("deprecated")>]
member this.Locale : Java.Util.Locale with get, set
Property Value
The primary locale. This property is deprecated; use Locales to read or set the locale list.
- Attributes
Remarks
Current user preference for the locale, corresponding to locale resource qualifier.
This member is deprecated. Do not set or read this directly. Use #getLocales() and #setLocales(LocaleList). If only the primary locale is needed, getLocales().get(0) is now the preferred accessor.
Java documentation for android.content.res.Configuration.locale.
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.