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

Related topics

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