The SystemIdleMode class provides constant values for system idle behaviors. These constants are used in the systemIdleMode property of the NativeApplication class.

See also:

Variables

@:value(cast 0)@:impl@:enuminlineread onlyKEEP_AWAKE:SystemIdleMode = 0

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.

@:value(cast 1)@:impl@:enuminlineread onlyNORMAL:SystemIdleMode = 1

The system follows the normal "idle user" behavior.