Index

Applications

new Applications()

Application module handles the information of apps on behalf of other
modules

Members

installedApps :Object

The installed APPs list

ready :boolean

The statuts about get all installed Apps by mozApps API.

Methods

fireApplicationInstallEvent()

Broadcast ApplicationInstallEvent when apps.mgmt.oninstall occured.
We need to dispatch the following events because
mozApps is not doing so right now.
ref: @link https://bugzilla.mozilla.org/show_bug.cgi?id=731746

fireApplicationReadyEvent()

Broadcast ApplicationReadyEvent when mozApps.mgmt.getAll() done.

fireApplicationUninstallEvent()

Broadcast ApplicationUninstallEvent when apps.mgmt.onuninstall occured.

getByManifestURL()

Get App by ManifestURL.

start()

Start the Applications to get all installed Apps and
register apps.mgmt.oninstall and apps.mgmt.uninstall handler.

stop()

Stop the Applications services,
un-register apps.mgmt.oninstall and apps.mgmt.uninstall handler.