Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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