Called by the native code when an element appears or disappears from the application list.
The callback is called when an application or a list of applications is either added by the installApplications method or removed by the removeApplications method. A new listener is called immediately after its registration with the current list of applications.
The onListChanged
will not be called after the application on the list
changes.
Name | Description | Type |
---|---|---|
map | An updated list of applications that contains mappings between
applicationURL parameters and application objects. |
object
|
The map
object may look similar to the example below. See Application for a complete list of possible properties of the
application object.
{ "http://example.com/index.html" : { "url" : "http://example.com/index.html", "copyright": null, (…) "name": "My app", "state": "installing", "version": "1.0.1" } }