Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIAddonUpdateListener Interface Reference

Interface for handling download and install progress notifications for addons. More...

import "nsIExtensionManager.idl";

Inheritance diagram for nsIAddonUpdateListener:
Inheritance graph
[legend]
Collaboration diagram for nsIAddonUpdateListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void onStateChange (in nsIUpdateItem addon, in short state, in long value)
 Install/Download state has changed.
void onProgress (in nsIUpdateItem addon, in unsigned long value, in unsigned long maxValue)
 Progress occurred in the download/install operation.

Detailed Description

Interface for handling download and install progress notifications for addons.

Definition at line 524 of file nsIExtensionManager.idl.


Member Function Documentation

void nsIAddonUpdateListener::onProgress ( in nsIUpdateItem  addon,
in unsigned long  value,
in unsigned long  maxValue 
)

Progress occurred in the download/install operation.

Parameters:
addonThe addon that progress occurred for
valueThe value of the current progress
maxValueThe maximum value |value| can reach
void nsIAddonUpdateListener::onStateChange ( in nsIUpdateItem  addon,
in short  state,
in long  value 
)

Install/Download state has changed.

Parameters:
addonThe addon that state changed for
stateThe new state. States are defined in nsIXPIProgressDialog
valueSome data about the new state

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