Public Member Functions | Public Attributes

nsIDownloadProgressListener Interface Reference

import "nsIDownloadProgressListener.idl";

Collaboration diagram for nsIDownloadProgressListener:

List of all members.

Public Member Functions

void onDownloadStateChange (in short aState, in nsIDownload aDownload)
 Dispatched whenever the state of the download changes.
void onStateChange (in nsIWebProgress aWebProgress, in nsIRequest aRequest, in unsigned long aStateFlags, in nsresult aStatus, 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)

Public Attributes

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

Member Function Documentation

void nsIDownloadProgressListener::onDownloadStateChange ( in short  aState,
in nsIDownload  aDownload 
)

Dispatched whenever the state of the download changes.

Parameters:
aState The previous download sate.
aDownload The download object.
See also:
nsIDownloadManager for download states.
void nsIDownloadProgressListener::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 nsIDownloadProgressListener::onSecurityChange ( in nsIWebProgress  aWebProgress,
in nsIRequest  aRequest,
in unsigned long  aState,
in nsIDownload  aDownload 
)
void nsIDownloadProgressListener::onStateChange ( in nsIWebProgress  aWebProgress,
in nsIRequest  aRequest,
in unsigned long  aStateFlags,
in nsresult  aStatus,
in nsIDownload  aDownload 
)

Member Data Documentation

document The document of the download manager frontend.


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