Share via


UserManager.DisallowConfigLocale Field

Definition

Specifies if a user is disallowed from changing the device language.

[Android.Runtime.Register("DISALLOW_CONFIG_LOCALE", ApiSince=28)]
public const string DisallowConfigLocale;
[<Android.Runtime.Register("DISALLOW_CONFIG_LOCALE", ApiSince=28)>]
val mutable DisallowConfigLocale : string

Field Value

Attributes

Remarks

Specifies if a user is disallowed from changing the device language. The default value is false.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_LOCALE can set this restriction using the DevicePolicyManager APIs mentioned below.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_CONFIG_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.

Applies to