Package | flash.desktop |
Class | public final class SystemIdleMode |
Inheritance | SystemIdleMode Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
systemIdleMode
property of the NativeApplication class.
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
KEEP_AWAKE : String = "keepAwake" [static]
Prevents the system from dropping into an idle mode. | SystemIdleMode | ||
NORMAL : String = "normal" [static]
The system follows the normal "idle user" behavior. | SystemIdleMode |
Constant Detail
KEEP_AWAKE | Constant |
public static const KEEP_AWAKE:String = "keepAwake"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Prevents the system from dropping into an idle mode.
On Android, the application must specify the Android permissions for DISABLE_KEYGUARD and WAKE_LOCK in the application descriptor or the operating system will not honor this setting.
NORMAL | Constant |
public static const NORMAL:String = "normal"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The system follows the normal "idle user" behavior.
Thu Dec 6 2018, 01:12 PM -08:00