Taal

LocaleConfig.FromContextIgnoringOverride(Context) Method

Definition

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 that was set with LocaleManager.setOverrideLocaleConfig(LocaleConfig) is not used.

Attributes

Remarks

Returns a LocaleConfig from the application resources regardless of whether any LocaleConfig is overridden via LocaleManager.setOverrideLocaleConfig(LocaleConfig).

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.

Applies to