Remove the application installation listener.
This function should be called with identical parameters that were used to add the application installation listener with hwc.addAppInstallationListener.
<static> removeAppInstallationListener( AppInstallationListener )
| Name | Type | Description |
| AppInstallationListener | anonymous.AppInstallationListener | The callback for application installation changes. |
// appInstallListener is the callback function that will be passed to hwc.addAppInstallationListener.
var appInstallListener = function( event, moduleId, version, moduleName )
{
if( event == hwc.INSTALLATION_BEGIN )
{
alert(moduleName + " has just started the installation process.");
}
else if( event == hwc.INSTALLATION_END )
{
alert(moduleName + " has just finished the installation process.");
}
}
hwc.addAppInstallationListener( appInstallListener );
// when we want to remove this listener, we call the following line:
hwc.removeAppInstallationListener( appInstallListener );