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
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
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 4 2014, 05:50 PM -08:00