次の方法で共有


Settings.System.ScreenOffTimeout Field

Definition

The amount of time in milliseconds before the device goes to sleep or begins to dream after a period of inactivity.

[Android.Runtime.Register("SCREEN_OFF_TIMEOUT")]
public const string ScreenOffTimeout;
[<Android.Runtime.Register("SCREEN_OFF_TIMEOUT")>]
val mutable ScreenOffTimeout : string

Field Value

Attributes

Remarks

The amount of time in milliseconds before the device goes to sleep or begins to dream after a period of inactivity. This value is also known as the user activity timeout period since the screen isn't necessarily turned off when it expires.

This value is bounded by maximum timeout set by android.app.admin.DevicePolicyManager#setMaximumTimeToLock(ComponentName, long).

Java documentation for android.provider.Settings.System.SCREEN_OFF_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