Class ContentDownloadService.DownloadOperation
Abstraction for the individual download operations. These can be subclassed for custom implementations of downloading.
Namespace: Unity.Entities.Content
Assembly: Unity.Entities.dll
Syntax
public abstract class ContentDownloadService.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 DownloadStatus, ref long) | Process the state of the operation. |
| ProcessDownload(ref long, ref string) | Called to process the download operation. |
| Start(ref DownloadStatus) | Starts the download operation. |
| StartDownload(string, string) | Called when the operation can begin downloading it data. |