canmove, Confirmed users
1,570
edits
No edit summary |
|||
| Line 224: | Line 224: | ||
The version of the add-on being installed. | The version of the add-on being installed. | ||
==iconURL (string, readonly)== | |||
The icon of the add-on being installed. | |||
==infoURL (string, readonly)== | |||
The URL of release notes for this install. | |||
==type (string, readonly)== | ==type (string, readonly)== | ||
| Line 243: | Line 251: | ||
==progress (number, readonly)== | ==progress (number, readonly)== | ||
The progress of any necessary | The progress of any necessary downloads. | ||
==maxProgress (number, readonly)== | ==maxProgress (number, readonly)== | ||
The expected size of any necessary | The expected size of any necessary downloads or -1 if unknown. | ||
==certificate (nsIX509Cert, readonly)== | |||
If the add-on to be installed is signed this is the certificate of the signer. Only available after downloading is complete. | |||
==certName (string, readonly)== | |||
If the add-on to be installed is signed this is the simple display name of the signer. | |||
==addon ([[#Addon|Addon]] readonly)== | ==addon ([[#Addon|Addon]] readonly)== | ||
The | The full [[#Addon]] that this install will install. Only available after downloading is complete. | ||
== | ==install== | ||
Starts the install process for the add-on, continuing from whatever state this AddonInstall is already in. | Starts the install process for the add-on, continuing from whatever state this AddonInstall is already in. | ||
== | ==cancel== | ||
Stops the install process for this AddonInstall. Normally the install will fall into the Cancelled state and not be restartable. | |||
==addListener== | |||
Adds an [[#InstallListener]] that will only receive events for this install instance. | |||
==removeListener== | |||
Removes an [[#InstallListener]] registered to receive events for this install instance. | |||
=AddonListener= | =AddonListener= | ||