LocaleConfig.FromContextIgnoringOverride(Context) 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.
Returns a LocaleConfig from the application resources regardless of whether any LocaleConfig
is overridden via LocaleManager#setOverrideLocaleConfig(LocaleConfig).
[Android.Runtime.Register("fromContextIgnoringOverride", "(Landroid/content/Context;)Landroid/app/LocaleConfig;", "", ApiSince=34)]
public static Android.App.LocaleConfig FromContextIgnoringOverride(Android.Content.Context context);
[<Android.Runtime.Register("fromContextIgnoringOverride", "(Landroid/content/Context;)Landroid/app/LocaleConfig;", "", ApiSince=34)>]
static member FromContextIgnoringOverride : Android.Content.Context -> Android.App.LocaleConfig
Parameters
- context
- Context
the context of the application.
Returns
A new LocaleConfig read from the application resources. Any override set through OverrideLocaleConfig is not used.
- Attributes
Remarks
Returns a LocaleConfig from the application resources regardless of whether an override is set via OverrideLocaleConfig.
Android reference for android.app.LocaleConfig.fromContextIgnoringOverride.
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.