nsIUpdateCheckListener

An interface describing an object that listens to the progress of an update
check operation. This object is notified as the check continues, finishes
and if it has an error.

Methods

onCheckComplete(request, updates, updateCount)

The update check was completed.

Parameters

request The nsIXMLHttpRequest handling the update check.
updates An array of nsIUpdate objects listing available updates.
updateCount The size of the |updates| array.

onError(request, update)

An error occurred while loading the remote update service file.

Parameters

request The nsIXMLHttpRequest handling the update check.
update A nsIUpdate object that contains details about the error in its |statusText| property.