Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(7acb07ea-cac2-4c15-a3ad-23aaa789ed51)]
interface nsIDownloadProgressListener : nsISupports

Attributes

 document
 The document of the download manager frontend.
attribute nsIDOMDocument document

Methods

 Dispatched whenever the state of the download changes.

 @param aState The previous download sate.
 @param aDownload The download object.
 @see nsIDownloadManager for download states.
void onDownloadStateChange(in short aState, in nsIDownload aDownload)

        
void onProgressChange(in nsIWebProgress aWebProgress, in nsIRequest aRequest, in long long aCurSelfProgress, in long long aMaxSelfProgress, in long long aCurTotalProgress, in long long aMaxTotalProgress, in nsIDownload aDownload)

        
void onSecurityChange(in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aState, in nsIDownload aDownload)

        
void onStateChange(in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus, in nsIDownload aDownload)