Murl Engine Lua Addon API  Version 1.0 beta
Murl.IAppControl

The IAppControl interface.


Table members

Inherited


Murl.IControlable

Methods


TerminateApp()

Terminate (exit) the entire application within the next frame tick. Terminating the application is not supported on iOS devices.

Boolean TerminateApp()

Returns
Boolean true if successful.

IsTerminateApp()

Check if the application is terminated within the next frame tick.

Boolean IsTerminateApp()

Returns
Boolean true if the application is terminated within the next frame tick.

SetLoadingProgress(progress)

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)

Parameters
progressThe loading progress, between 0.0 and 1.0
Returns
Boolean true if successful.

GetLoadingProgress()

Get the current loading progress.

Number GetLoadingProgress()

Returns
Number The current loading progress, between 0.0 and 1.0