Extension Manager:API Rewrite:API: Difference between revisions

Jump to navigation Jump to search
Line 389: Line 389:
Notification about events during an update check for an add-on are passed to an update listener. For a single update check:
Notification about events during an update check for an add-on are passed to an update listener. For a single update check:


* <code>onCompatibilityUpdated</code> might be called once.
* <code>onCompatibilityUpdateAvailable</code> might be called once.
* Either <code>onUpdateAvailable</code> or <code>onNoUpdateAvailable</code> will be called once.
* Either <code>onUpdateAvailable</code> or <code>onNoUpdateAvailable</code> will be called once.
* <code>onUpdateFinished</code> will always be called last.
* <code>onUpdateFinished</code> will always be called last.


==onCompatibilityUpdated==
==onCompatibilityUpdateAvailable==


Called when new compatibility information has been found for the installed version of an add-on.
Called when the update check found compatibility information for the application and platform version that the update check was being performed for.


;addon :The [[#Addon|Addon]] that was being checked for updates
;addon :The [[#Addon|Addon]] that was being checked for updates
canmove, Confirmed users
1,570

edits

Navigation menu