Compartir a través de


UserManager.DisallowConfigScreenTimeout Field

Definition

Specifies if a user is disallowed from changing screen off timeout.

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

Field Value

Attributes

Remarks

Specifies if a user is disallowed from changing screen off timeout.

The default value is false.

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

This user restriction has no effect on managed profiles.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_CONFIG_SCREEN_TIMEOUT.

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