|
|
|
|
|
SysStandby (Function) In french: SysMiseEnVeille Allows you to: - enable and disable the standby mode.
Note: Standby settings are specific to the application:- when the application is stopped, the initial setting is restored.
- when the application is moved to the background, the initial settings are restored. When the application returns to the foreground, the standby settings are restored.
// Enables the standby mode SysStandby(sysBattery, sysStandbyActive)
Syntax
Enabling/Disabling the standby mode Hide the details
SysStandby(<Power mode> , <Standby>)
<Power mode>: Integer constant Power mode for which the management of the standby mode must be modified: | | sysBattery | Manage the standby mode when the device is powered by the battery. | sysMainsPower | Manage the standby mode when the device is plugged in. |
<Standby>: Integer constant Enable or disable the standby mode: | | sysStandbyActive | Enable the standby mode. The amount of idle time before switching to standby mode depends on the system settings. | sysStandbyInactive | Disable the standby mode when the application moves to the foreground. |
Finding out the standby mode Hide the details
<Result> = SysStandby(<Power mode>)
<Result>: Boolean - True if the standby mode is enabled,
- False otherwise.
<Power mode>: Integer constant Power mode for which the management of the standby mode must be known: | | sysBattery | Manage the standby mode when the device is powered by the battery. | sysMainsPower | Manage the standby mode when the device is plugged in. |
This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in. Component: wd300android.aar
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|