Extension Manager:API Rewrite:API: Difference between revisions

Jump to navigation Jump to search
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 download.
The progress of any necessary downloads.


==maxProgress (number, readonly)==
==maxProgress (number, readonly)==


The expected size of any necessary download or -1 if unknown.
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 add-on that this install will update if it is an update or null otherwise.
The full [[#Addon]] that this install will install. Only available after downloading is complete.


==startInstall==
==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.


==stopInstall==
==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==


Stops the install process for this AddonInstall. The process can be continued by calling startInstall though in some cases downloads may have to start from scratch rather than resuming.
Removes an [[#InstallListener]] registered to receive events for this install instance.


=AddonListener=
=AddonListener=
canmove, Confirmed users
1,570

edits

Navigation menu