docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaseDataConsumer<T>.Uploadable

    Uploadable.

    Inheritance
    object
    BaseDataConsumer<T>.Uploadable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    protected class BaseDataConsumer<T>.Uploadable

    Constructors

    Uploadable(string, Task<T>)

    Initializes a new BaseDataConsumer<T>.Uploadable with the specified values.

    Declaration
    public Uploadable(string path, Task<T> task)
    Parameters
    Type Name Description
    string path

    File system path or navigation path of the data to upload.

    Task<T> task

    The task that completes when the upload finishes.

    Fields

    attempts

    The attempts.

    Declaration
    public int attempts
    Field Value
    Type Description
    int

    path

    File system path or navigation path.

    Declaration
    public string path
    Field Value
    Type Description
    string

    source

    The stream to upload from, or null when uploading from path.

    Declaration
    public Stream source
    Field Value
    Type Description
    Stream

    startTime

    The start time.

    Declaration
    public DateTime startTime
    Field Value
    Type Description
    DateTime

    task

    The task.

    Declaration
    public Task<T> task
    Field Value
    Type Description
    Task<T>

    Methods

    Cleanup()

    Cleanup.

    Declaration
    public void Cleanup()
    In This Article
    Back to top
    Copyright © 2026 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)