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.
Mon Nov 28 2011, 06:48 AM -08:00