docs.unity.cn
    Show / Hide Table of Contents

    Class ContentDownloadService.DownloadOperation

    Abstraction for the individual download operations. These can be subclassed for custom implementations of downloading.

    Inheritance
    Object
    ContentDownloadService.DownloadOperation
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023