nsIAddonUpdateCheckListener

IID:c946119f-9e7c-41aa-a794-803148045350
Inherits From:nsISupports

Constants

PRUint32 STATUS_NONE = 0
PRUint32 STATUS_UPDATE = 1
PRUint32 STATUS_VERSIONINFO = 2
PRUint32 STATUS_DATA_FOUND = 3
PRUint32 STATUS_FAILURE = 4
PRUint32 STATUS_NO_UPDATE = 8
PRUint32 STATUS_DISABLED = 16
PRUint32 STATUS_APP_MANAGED = 32
PRUint32 STATUS_READ_ONLY = 64
PRUint32 STATUS_PENDING_OP = 128
PRUint32 STATUS_NOT_MANAGED = 256
PRUint32 STATUS_DISALLOWED = 496

Methods

void onAddonUpdateEnded ( nsIUpdateItem addon , PRInt32 status ) void onAddonUpdateStarted ( nsIUpdateItem addon ) void onUpdateEnded ( ) void onUpdateStarted ( )

void onAddonUpdateEnded ( nsIUpdateItem addon , PRInt32 status )

Update for an individual addon has ended

Arguments:
addon: A nsIUpdateItem object representing the addon being updated
status: The success or failure code of the update operation

void onAddonUpdateStarted ( nsIUpdateItem addon )

Update for an individual addon has begun

Arguments:
addon: A nsIUpdateItem object representing the addon being updated

void onUpdateEnded ( )

Addon update has ended


void onUpdateStarted ( )

Addon update has begun


References

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

nsIExtensionManager.update

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com