sbIBundleInstallListener Interface Reference

Songbird Bundle Installation Listener Interface. More...

import"sbIBundleInstallListener.idl";

Inheritance diagram for sbIBundleInstallListener:
[legend]
Collaboration diagram for sbIBundleInstallListener:
[legend]

Public Member Functions

void onExtensionDownloadProgress (in sbIBundle aBundle, in long aIndex, in long long aCurrentProgress, in long long aMaxProgress)
 Bundled extension download progress callback This method is called while a bundled extension is being downloaded to report progress. More...
 
void onDownloadComplete (in sbIBundle aBundle, in long aIndex)
 Bundled extension download completion callback This method is called upon download completion of a bundled extension. More...
 
void onInstallComplete (in sbIBundle aBundle, in long aIndex)
 Bundle installation complete callback This method is called when a bundled extension has been successfully installed. More...
 
void onDownloadError (in sbIBundle aBundle, in long aIndex)
 Bundle download error callback This method is called upon error downloading a bundled extension. More...
 
void onInstallError (in sbIBundle aBundle, in long aIndex)
 Bundle install error callback This method is called upon error installing a bundled extension. More...
 
void onBundleInstallComplete (in sbIBundle aBundle)
 Bundle download and installation complete callback This method is called when the downloading and installing of all the bundled extensions has been completed, regardless of any error that may have occured in the process. More...
 

Detailed Description

Songbird Bundle Installation Listener Interface.

See Also
sbIBundle

Definition at line 44 of file sbIBundleInstallListener.idl.

Member Function Documentation

void sbIBundleInstallListener::onBundleInstallComplete ( in sbIBundle  aBundle)

Bundle download and installation complete callback This method is called when the downloading and installing of all the bundled extensions has been completed, regardless of any error that may have occured in the process.

Parameters
bundleAn interface to the bundle manager that triggered the event
See Also
onDownloadComplete, onDownloadError, sbIBundle
void sbIBundleInstallListener::onDownloadComplete ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundled extension download completion callback This method is called upon download completion of a bundled extension.

Parameters
bundleAn interface to the bundle manager that triggered the event
indexThe 0-based index of the entry that completed downloading
See Also
onInstallComplete, sbIBundle
void sbIBundleInstallListener::onDownloadError ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle download error callback This method is called upon error downloading a bundled extension.

Parameters
bundleAn interface to the bundle manager that triggered the event
indexThe 0-based index of the entry that had an error downloading
See Also
onDownloadComplete, sbIBundle
void sbIBundleInstallListener::onExtensionDownloadProgress ( in sbIBundle  aBundle,
in long  aIndex,
in long long  aCurrentProgress,
in long long  aMaxProgress 
)

Bundled extension download progress callback This method is called while a bundled extension is being downloaded to report progress.

Parameters
bundleAn interface to the bundle manager that triggered the event
indexThe 0-based index of the entry that completed downloading
percentThe percentage of the file that has been downloaded
See Also
onInstallComplete, onComplete, sbIBundle
void sbIBundleInstallListener::onInstallComplete ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle installation complete callback This method is called when a bundled extension has been successfully installed.

Parameters
bundleAn interface to the bundle manager that triggered the event
indexThe 0-based index of the entry that completed downloading
See Also
onDownloadComplete, onComplete, sbIBundle
void sbIBundleInstallListener::onInstallError ( in sbIBundle  aBundle,
in long  aIndex 
)

Bundle install error callback This method is called upon error installing a bundled extension.

Parameters
bundleAn interface to the bundle manager that triggered the event
indexThe 0-based index of the entry that had an error installing
See Also
onDownloadComplete, sbIBundle

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