| Package | flash.desktop |
| Class | public final class SystemIdleMode |
| Inheritance | SystemIdleMode Object |
| Language version: | ActionScript 3.0 |
| Runtime version: | AIR 2 |
systemIdleMode property of the NativeApplication class.
See also
| 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 | ||
| KEEP_AWAKE | constant |
public static const KEEP_AWAKE:String = "keepAwake"
| Language version: | ActionScript 3.0 |
| Runtime version: | 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 version: | AIR 2 |
The system follows the normal "idle user" behavior.