Public Member Functions | Public Attributes

nsIAddonUpdateCheckListener Interface Reference

Interface for handling notifications during the addon update check process. More...

import "nsIExtensionManager.idl";

List of all members.

Public Member Functions

void onUpdateStarted ()
 Addon update has begun.
void onUpdateEnded ()
 Addon update has ended.
void onAddonUpdateStarted (in nsIUpdateItem addon)
 Update for an individual addon has begun.
void onAddonUpdateEnded (in nsIUpdateItem addon, in long status)
 Update for an individual addon has ended.

Public Attributes

const unsigned long STATUS_NONE = 0
const unsigned long STATUS_UPDATE = 1
const unsigned long STATUS_VERSIONINFO = 2
const unsigned long STATUS_DATA_FOUND
const unsigned long STATUS_FAILURE = 4
const unsigned long STATUS_NO_UPDATE = 8
const unsigned long STATUS_DISABLED = 16
const unsigned long STATUS_APP_MANAGED = 32
const unsigned long STATUS_READ_ONLY = 64
const unsigned long STATUS_PENDING_OP = 128
const unsigned long STATUS_NOT_MANAGED = 256
const unsigned long STATUS_DISALLOWED

Detailed Description

Interface for handling notifications during the addon update check process.


Member Function Documentation

void nsIAddonUpdateCheckListener::onAddonUpdateEnded ( in nsIUpdateItem  addon,
in long  status 
)

Update for an individual addon has ended.

Parameters:
addon A nsIUpdateItem object representing the addon being updated
status The success or failure code of the update operation
Exceptions:
NS_ERROR_ILLEGAL_VALUE if the addon is invalid.
void nsIAddonUpdateCheckListener::onAddonUpdateStarted ( in nsIUpdateItem  addon  ) 

Update for an individual addon has begun.

Parameters:
addon A nsIUpdateItem object representing the addon being updated
Exceptions:
NS_ERROR_ILLEGAL_VALUE if the addon is invalid.
void nsIAddonUpdateCheckListener::onUpdateEnded (  ) 

Addon update has ended.

void nsIAddonUpdateCheckListener::onUpdateStarted (  ) 

Addon update has begun.


Member Data Documentation


The documentation for this interface was generated from the following file: