Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 8.4 8.5 9.0 9.1 9.2 9.3 9.4 9.5 10.0 10.1 Statistic
Sets whether the idle timer is disabled for the app.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|Value||The new value.
Pass 1 to disable idle sleep or pass 0 to enable.
Returns OK or error.
DescriptionSets whether the idle timer is disabled for the app.
The default value of this property is 0. When most apps have no touches as user input for a short period, the system puts the device into a "sleep” state where the screen dims. This is done for the purposes of conserving power. However, apps that don't have user input except for the accelerometer—games, for instance—can, by setting this property to 1, disable the “idle timer” to avert system sleep.
Created 17th January 2020, last changed 17th January 2020
Feedback: Report problem or ask question.
MBS Xojo Plugins