UpdateCheckListener

This article is in need of a technical review.

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

Last updated by: kscarfone,
Hide Sidebar