Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

UpdateCheckListener

This article needs a technical review. How you can help.

UpdateCheckListeners are passed the results of update checks performed by the AddonUpdateChecker.

Method Overview

void onUpdateCheckComplete(in UpdateInfo results[])
void onUpdateCheckError(in integer status)

Methods

onUpdateCheckComplete()

Called when the update check completed successfully.

void onUpdateCheckComplete(
  in UpdateInfo results[]
)
Parameters
results
An array of UpdateInfo objects representing the available add-on versions

onUpdateCheckError()

Called when the update check fails.

void onUpdateCheckError(
  in integer status
)
Parameters
status
A value representing the type of failure; see the range of possible values.

Document Tags and Contributors

 Contributors to this page: kscarfone, Sheppy, trevorh, Mossop
 Last updated by: kscarfone,