onListChanged


Purpose

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.

Note

The onListChanged will not be called after the application on the list changes.

Signature

onListChanged( map )

Returns

This method does not return anything.

Parameter

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" }
    }

Related topics

Public API reference
addApplicationManagerListener
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...