nsISupports
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)boolean enabled(); |
boolean install(in nsIVariant aArgs, [optional] in amIInstallCallback aCallback); |
boolean installChrome(in PRUint32 aType, in AString aUrl, in AString aSkin); Deprecated since Gecko 2.0 |
boolean startSoftwareUpdate(in AString aUrl, [optional] in PRInt32 aFlags); Deprecated since Gecko 2.0 |
boolean updateEnabled(); Deprecated since Gecko 2.0 |
Retained for backwards compatibility.
Constant | Value | Description |
SKIN |
1 |
|
LOCALE |
2 |
|
CONTENT |
4 |
|
PACKAGE |
7 |
Tests if installation is enabled.
boolean enabled();
None.
Starts a new installation of a set of add-ons.
boolean install(
in nsIVariant aArgs,
in amIInstallCallback aCallback Optional
);
aArgs
install
. This should be a JS object, each property is the name of an add-on to be installed. The value of the property should either be a string URL, or an object with the following properties:
aCallback
Optionaltrue
if the installations were successfully started.
Starts installing a new add-on. This method is deprecated, please use install()
in the future.
boolean installChrome( in PRUint32 aType, in AString aUrl, in AString aSkin );
aType
aUrl
aSkin
true
if the installation was successfully started.
Starts installing a new add-on.
boolean startSoftwareUpdate(
in AString aUrl,
in PRInt32 aFlags Optional
);
aUrl
aFlags
Optionaltrue
if the installation was successfully started.
Tests if installation is enabled.
boolean updateEnabled();
None.