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, containing applicationURL to application mappings. | object
|
The map objects may look similar to the example below:
{ "http://example.com/index.html" : { "url" : "http://example.com/index.html", "copyright": null, (…) "name": "My app", "state": "installing", "version": "1.0.1" } }