canmove, Confirmed users
1,570
edits
| Line 393: | Line 393: | ||
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>onCompatibilityUpdateAvailable</code> | * Either <code>onCompatibilityUpdateAvailable</code> on <code>onNoCompatibilityUpdateAvailable</code> will 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. | ||
| Line 400: | Line 400: | ||
Called when the update check found compatibility information for the application and platform version that the update check was being performed for. | 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 | |||
==onNoCompatibilityUpdateAvailable== | |||
Called when the update check found no new 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 | ||
| Line 415: | Line 421: | ||
;addon :The [[#Addon|Addon]] that was being checked for updates | ;addon :The [[#Addon|Addon]] that was being checked for updates | ||
==onUpdateFinished== | ==onUpdateFinished== | ||