ApplicationListener( event, moduleId, version ) method

Callback function that will be invoked on hybrid app events. Application listeners can be added with hwc.addAppListener.

Syntax

<static> ApplicationListener( event, moduleId, version )

Parameters

Name Type Description
event number A number indicating what event has taken place (will be one of hwc.APP_REFRESH, hwc.APP_ADDED, hwc.APP_UPDATED, hwc.APP_REMOVED).
moduleId number The module id of the hyrbid app the event is about.
version number module The version of the hybrid app the event is about.

Source

hwc-api.js, line 3682.