DownloadingStateChanged
PowerScript event
Description
Occurs when the download status or progress information is
changed.
Syntax
|
1 |
DownloadingStateChanged (integer itemId, longlong speed, longlong received, longlong total, integer percent) |
Event ID
|
Event ID |
Objects |
|---|---|
|
None |
WebBrowser controls |
Arguments
|
Argument |
Description |
|---|---|
|
itemId |
The ID of the download item, starting from |
|
speed |
The download speed estimated in bytes every second. |
|
received |
The size of the content that has been |
|
total |
The total size of the content to be |
|
percent |
A rough percentage of completion or -1 if the total |
Return Values
None
Usage
The DownloadingStateChanged event will be triggered for uncertain
times even if the download percentage has reached 100%.
The DownloadingStateChanged event will still be triggered after
PauseDownload is called.
See also