AppInstallationListener( event, moduleId, version, moduleName ) method

Callback function that will be invoked on hybrid app installation events.

App installation listeners can be added with hwc.addAppInstallationListener.

Syntax

<static> AppInstallationListener( event, moduleId, version, moduleName )

Parameters

Name Type Description
event number A number indicating the event (will be either hwc.INSTALLATION_BEGIN or hwc.INSTALLATION_END).
moduleId string The module ID of the hybrid app the event is about.
version string The version of the hybrid app the event is about.
moduleName string The display name of the hybrid app the event is about.

Source

hwc-api.js, line 3673.