Represents an independent web application manager object. Allows to install, remove and update web applications that run in the client.
The Constants section below lists errors that may be returned in a callback if an operation fails.
You can access the object by using the launchbox.ApplicationManager
reference.
Name | Description | Type |
---|---|---|
self | Represents the current application. The data contained within this object does not change in the application's lifecycle. | object |
Name | Description |
---|---|
APPLICATION_NOT_FOUND | Error returned when the application cannot be found on the application manager's list. |
APPLICATION_NOT_INSTALLED | Thrown when trying to start/stop a Web Application that is in "notinstalled" or "failed" state. |
INVALID_APPLICATION_URL | Thrown when the application's URL is incorrect. |
Name | Description | Return type |
---|---|---|
addApplicationManagerListener |
Registers a listener for the |
object |
installApplications |
Installs a set applications enumerated on the list. |
undefined |
startApplication |
Starts an application that has been identified by means of an application ID or application's URL address. |
undefined |
stopApplication |
Instantly kills an app that has been identified by means of an application ID or application's URL address. |
undefined |