canmove, Confirmed users
1,570
edits
(→Addon) |
(→Addon) |
||
| Line 232: | Line 232: | ||
;appVersion :An application version to test against | ;appVersion :An application version to test against | ||
;platformVersion :A platform version to test against | ;platformVersion :A platform version to test against | ||
===findUpdates=== | ===findUpdates=== | ||
| Line 254: | Line 246: | ||
;appVersion :An application version to check for updates for (optional) | ;appVersion :An application version to check for updates for (optional) | ||
;platformVersion :A platform version to check for updates for (optional) | ;platformVersion :A platform version to check for updates for (optional) | ||
==Optional Methods== | |||
===uninstall=== | |||
Uninstalls this add-on. If possible the uninstall will happen immediately otherwise it will wait until the next application restart. Listeners may be notified of the uninstall asynchronously. | |||
This method must be defined if an add-on has the permission PERM_CAN_UNINSTALL. | |||
===cancelUninstall=== | |||
Cancels uninstalling an add-on if it is pending uninstall. | |||
This method must be defined if an add-on ever has the pendingOperation PENDING_UNINSTALL. | |||
===hasResource=== | ===hasResource=== | ||