Inherits IDisposable.
|
| virtual void | Destroy () |
| | Must be called when the client is ready with the download to free the resources associated with it If the download is not yet complete this implies a Cancel operation Calling any method after Finish is undefined. More...
|
| |
| virtual uint | GetId () |
| | An opaque id of the download. Ids are unique per-context per-session and can be used to distinguish downloads poinitng to the same resource. More...
|
| |
| virtual bool | Cancel () |
| | Cancels a download task. More...
|
| |
| virtual string | GetURL () |
| | The download url. More...
|
| |
| virtual string | GetFilename () |
| | The name of the downloaded file. More...
|
| |
| virtual string | GetReferrer () |
| | The referrer of the download. More...
|
| |
| virtual uint | GetTotalBytes () |
| | The estimated size of the download. More...
|
| |
| virtual uint | GetDownloadedBytesSoFar () |
| | The bytes downloaded so far. NB. Downloads are completed asynchronously, this is an estimation and might not be up-to-date. More...
|
| |
| virtual bool | IsComplete () |
| | Tells if the download is complete. More...
|
| |
| virtual bool | IsCancelled () |
| | Tells if the download has been cancelled. More...
|
| |
| virtual bool | HasFailed () |
| | Tells if the download has failed. More...
|
| |
Encapsulates a download task.