UserManager.DisallowConfigDateTime Field
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.
Specifies configuring date, time and timezone is disallowed via Settings.
[Android.Runtime.Register("DISALLOW_CONFIG_DATE_TIME", ApiSince=28)]
public const string DisallowConfigDateTime;
[<Android.Runtime.Register("DISALLOW_CONFIG_DATE_TIME", ApiSince=28)>]
val mutable DisallowConfigDateTime : string
Field Value
- Attributes
Remarks
Specifies configuring date, time and timezone is disallowed via Settings.
A device owner and a profile owner can set this restriction, although the restriction has no effect in a managed profile. When it is set by a device owner or by a profile owner of an organization-owned managed profile on the parent profile, it applies globally - i.e., it disables date, time and timezone setting on the entire device and all users are affected. When it is set by a profile owner on the primary user, it disables the primary user from configuring date, time and timezone and disables all configuring of date, time and timezone in Settings.
Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_TIME
can set this restriction using the DevicePolicyManager APIs mentioned below.
The default value is false
.
Key for user restrictions.
Type: Boolean
Java documentation for android.os.UserManager.DISALLOW_CONFIG_DATE_TIME
.
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.