nsIDownloadProgressListener
| IID: | 7acb07ea-cac2-4c15-a3ad-23aaa789ed51 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Properties
nsIDOMDocument document
Document The document of the download manager frontend.
Methods
void onDownloadStateChange ( PRInt16 state , nsIDownload download )
void onProgressChange ( nsIWebProgress webProgress , nsIRequest request , PRInt64 curSelfProgress , PRInt64 maxSelfProgress , PRInt64 curTotalProgress , PRInt64 maxTotalProgress , nsIDownload download )
void onSecurityChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 state , nsIDownload download )
void onStateChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 stateFlags , nsresult status , nsIDownload download )
void onDownloadStateChange ( PRInt16 state , nsIDownload download )
Dispatched whenever the state of the download changes.
- Arguments:
- state: The previous download sate.
- download: The download object.
void onProgressChange ( nsIWebProgress webProgress , nsIRequest request , PRInt64 curSelfProgress , PRInt64 maxSelfProgress , PRInt64 curTotalProgress , PRInt64 maxTotalProgress , nsIDownload download )
- Arguments:
- webProgress
- request
- curSelfProgress
- maxSelfProgress
- curTotalProgress
- maxTotalProgress
- download
void onSecurityChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 state , nsIDownload download )
- Arguments:
- webProgress
- request
- state
- download
void onStateChange ( nsIWebProgress webProgress , nsIRequest request , PRUint32 stateFlags , nsresult status , nsIDownload download )
- Arguments:
- webProgress
- request
- stateFlags
- status
- download
References
This interface is passed as an argument to the following methods:
nsIDownloadManager.addListener, nsIDownloadManager.removeListener
Reference documentation is generated from Mozilla's source.
