docs.unity3d.com
Search Results for

    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
    Assembly: solution.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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)