sample_AppListener( event, moduleId, version ) method

A sample anonymous.ApplicationListener callback function.

Syntax

<static> sample_AppListener( 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 1662.