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.

nsIAddonUpdateListener

IID:bb86037c-98c1-4c22-8e03-1e4c9fc89a8e
Inherits From:nsISupports

Methods

void onProgress ( nsIUpdateItem addon , PRUint32 value , PRUint32 maxValue ) void onStateChange ( nsIUpdateItem addon , PRInt16 state , PRInt32 value )

void onProgress ( nsIUpdateItem addon , PRUint32 value , PRUint32 maxValue )

Progress occurred in the download/install operation

Arguments:
addon: The addon that progress occurred for
value: The value of the current progress
maxValue: The maximum value |value| can reach

void onStateChange ( nsIUpdateItem addon , PRInt16 state , PRInt32 value )

Install/Download state has changed

Arguments:
addon: The addon that state changed for
state: The new state. States are defined in nsIXPIProgressDialog
value: Some data about the new state

References

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

nsIExtensionManager.addUpdateListener

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com