WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIUpdateCheckListener

IID:8cbceb6e-8e27-46f2-8808-444c6499f836
Inherits From:nsISupports

Methods

void onCheckComplete ( nsIXMLHttpRequest request , nsIUpdate updates , PRUint32 updateCount ) void onError ( nsIXMLHttpRequest request , nsIUpdate update ) void onProgress ( nsIXMLHttpRequest request , PRUint32 position , PRUint32 totalSize )

void onCheckComplete ( nsIXMLHttpRequest request , nsIUpdate updates , PRUint32 updateCount )

The update check was completed.

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

void onError ( nsIXMLHttpRequest request , nsIUpdate update )

An error occurred while loading the remote update service file.

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

void onProgress ( nsIXMLHttpRequest request , PRUint32 position , PRUint32 totalSize )

Called every time there is a progress notification loading the Update Service file.

Arguments:
request: The nsIXMLHttpRequest handling the update check.
position: The current byte downloaded
totalSize: The total number of bytes that have to be downloaded

References

This interface is passed as an argument to the following methods:

nsIUpdateChecker.checkForUpdates

Reference documentation is generated from Mozilla's source.