new Applications()
Application module handles the information of apps on behalf of other modules
.Application module handles the information of apps on behalf of other modules
- Source:
Members
installedApps :Object
The installed APPs list
.The installed APPs list
Type:
- Object
- Source:
ready :boolean
The statuts about get all installed Apps by mozApps API.
The statuts about get all installed Apps by mozApps API.
Type:
- boolean
- Source:
Methods
fireApplicationInstallEvent()
Broadcast ApplicationInstallEvent when apps.mgmt.oninstall occured.
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
- Source:
fireApplicationReadyEvent()
Broadcast ApplicationReadyEvent when mozApps.mgmt.getAll() done.
Broadcast ApplicationReadyEvent when mozApps.mgmt.getAll() done.
- Source:
fireApplicationUninstallEvent()
Broadcast ApplicationUninstallEvent when apps.mgmt.onuninstall occured.
Broadcast ApplicationUninstallEvent when apps.mgmt.onuninstall occured.
- Source:
getByManifestURL()
Get App by ManifestURL.
Get App by ManifestURL.
- Source:
start()
Start the Applications to get all installed Apps and register apps.mgmt.oninstall and apps.mgmt.uninstall handler.
Start the Applications to get all installed Apps and register apps.mgmt.oninstall and apps.mgmt.uninstall handler.
- Source:
stop()
Stop the Applications services, un-register apps.mgmt.oninstall and apps.mgmt.uninstall handler.
Stop the Applications services, un-register apps.mgmt.oninstall and apps.mgmt.uninstall handler.
- Source: