Class ContentDownloadService.DownloadOperation
Abstraction for the individual download operations. These can be subclassed for custom implementations of downloading.
Namespace: Unity.Entities.Content
Syntax
public abstract class DownloadOperation
Properties
| Name | Description |
|---|---|
| IsCancelled | True if the operation has been cancelled. |
| IsStarted | True if the operation has been started. This will be false if the operation is queued. |
| Location | The location of the operation. |
Methods
| Name | Description |
|---|---|
| Cancel() | Cancel the download if possible. |
| CancelDownload() | Called when the download is cancelled. |
| Init(RemoteContentLocation, String, String) | Initialize the download operation with the information needed to start. |
| Process(ref ContentDownloadService.DownloadStatus, ref Int64) | Process the state of the operation. |
| ProcessDownload(ref Int64, ref String) | Called to process the download operation. |
| Start(ref ContentDownloadService.DownloadStatus) | Starts the download operation. |
| StartDownload(String, String) | Called when the operation can begin downloading it data. |