![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAppControl interface.
Terminate (exit) the entire application within the next frame tick. Terminating the application is not supported on all devices.
Boolean TerminateApp()
Check if the application is going to be terminated within the next frame tick.
Boolean IsTerminatingApp()
Suspend the application within the next frame tick. Suspending the application is not supported on all devices.
Boolean SuspendApp()
Check if the application is going to be suspended within the next frame tick.
Boolean IsSuspendingApp()
Set the current loading progress. Setting the loading progress is an optional feature to communicate the app's current loading state to the platform handler. By default, the loading progress is set to 0.0 (unloaded).
Boolean SetLoadingProgress(Number progress)
progress | The loading progress, between 0.0 and 1.0 |
Get the current loading progress.
Number GetLoadingProgress()