| EVENT_PROGRESS |
|
The number of uploaded bytes have changed.
|
event |
3 |
| size |
Size of the file that is being uploaded. |
| done |
Number of bytes that has been uploaded. |
| pcn |
Percentage of the file size that has been uploaded |
| pgx |
Pixel size the progress indicator must be.
Values are integers between 0...sizeOfProgressBar.
|
| kbpsAverage |
Average upload speed in kilobytes per second with two decimal digits.
Formula: total bytes uploaded / total time elapsed.
|
| kbpsCurrent |
Current upload speed in kilobytes per second with two decimal digits.
Formula: bytes uploaded from last progress event till this progress event
/ time interval between these two events.
|
| timeElapsed |
Time elapsed since the upload started.
Format: h:ii:ss
|
| timeRemains |
Estimated remaining time for the upload to complete.
Formula: (size - done) / (kbpsCurrent * 1000).
Format: h:ii:ss
|
- The last four properties are updated every 250 milliseconds,
in order to be readable.
|