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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com