DownloadTask is a task item that can be accessed from application layer to fetch basic download item information, also it's used for content download by sync manager.
More...
#include <downloadtask.h>
DownloadTask is a task item that can be accessed from application layer to fetch basic download item information, also it's used for content download by sync manager.
Definition at line 50 of file downloadtask.h.
virtual mcloud::api::DownloadTask::~DownloadTask |
( |
| ) |
|
|
virtualdefault |
mcloud::api::DownloadTask::DownloadTask |
( |
const DownloadTask & |
| ) |
|
|
delete |
void mcloud::api::DownloadTask::cancel |
( |
| ) |
|
|
overridevirtual |
const std::string& mcloud::api::DownloadTask::content_id |
( |
| ) |
const |
|
overridevirtual |
const std::string& mcloud::api::DownloadTask::content_name |
( |
| ) |
const |
|
overridevirtual |
const std::string& mcloud::api::DownloadTask::error_string |
( |
| ) |
const |
|
overridevirtual |
Contains the error string if an error occurs during content download.
Implements mcloud::api::Task.
const std::string& mcloud::api::DownloadTask::file_path |
( |
| ) |
const |
|
overridevirtual |
Returns current sync-up status for this task.
- See also
- Task::TaskStatus
Implements mcloud::api::Task.
const std::string& mcloud::api::DownloadTask::task_id |
( |
| ) |
const |
|
overridevirtual |
const std::string& mcloud::api::DownloadTask::task_url |
( |
| ) |
const |
|
overridevirtual |
Returns download url assigned by mcloud for this task.
- Note
- this url will be expried after a period of time.
Implements mcloud::api::Task.
friend class SyncManagerPriv |
|
friend |
The documentation for this class was generated from the following file:
- /build/mcloud-Y8SCDq/mcloud-1.0.0+16.10.20160927.3/include/mcloud/api/downloadtask.h