Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets whether the idle timer is disabled for the app.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
iOSApp | 10.1 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Value | The new value. Pass 1 to disable idle sleep or pass 0 to enable. |
1 |
Returns OK or error.
Disable the idle timer:
Set Variable [ $r; Value: MBS( "iOSApp.SetIdleTimerDisabled"; 1 ) ]
Enable the idle timer:
Set Variable [ $r; Value: MBS( "iOSApp.SetIdleTimerDisabled"; 0 ) ]
This function checks for a license.
Created 17th January 2020, last changed 19th June 2023
iOSApp.SetDidReceiveMemoryWarningScript - iOSApp.SetOrientationDidChangeEvaluate