#include <DownloadDelegate.h>
Delegate class for the asynchronous version of method:
◆ onChunkReceived()
virtual void cbe::delegate::DownloadDelegate::onChunkReceived |
( |
cbe::Object && |
object, |
|
|
std::uint64_t |
received, |
|
|
std::uint64_t |
total |
|
) |
| |
|
virtual |
Called when a chunk of data has been received.
- Parameters
-
object | Object associated with current download. |
received | Size, in number of bytes, of the received chunk. |
total | Total number of bytes received so far. |
◆ onDownloadError()
Called if an error is encountered.
◆ onDownloadSuccess()
virtual void cbe::delegate::DownloadDelegate::onDownloadSuccess |
( |
cbe::Object && |
object, |
|
|
std::string |
path |
|
) |
| |
|
pure virtual |
Called upon successful Download.
- Parameters
-
object | Instance of object that is being Downloaded. |
path | Path of object to be downloaded. |
The documentation for this class was generated from the following file: