Molybden API
|
The DownloadEvents::onDownloadUpdated event arguments. More...
#include <download_events.hpp>
Public Attributes | |
std::shared_ptr< Download > | download |
The download instance initiated this event. | |
int64_t | current_speed |
The current download speed estimate in bytes/second. | |
int64_t | total_bytes |
The total size of the downloaded file in bytes. | |
int64_t | received_bytes |
The number or received (downloaded) bytes. | |
int | percent_complete |
The rough percent complete. | |
The DownloadEvents::onDownloadUpdated event arguments.
int molybden::DownloadUpdated::percent_complete |
The rough percent complete.
Returns -1 if progress is unknown. 100 if the download is already complete.