docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UploadContentOptions

    Parameters for uploading content.

    Inheritance
    object
    UploadContentOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Ccd.Management
    Assembly: Unity.Services.Ccd.Management.dll
    Syntax
    public class UploadContentOptions

    Constructors

    UploadContentOptions(Guid, Guid, Stream)

    Create parameters for uploading content.

    Declaration
    public UploadContentOptions(Guid bucketId, Guid entryId, Stream file)
    Parameters
    Type Name Description
    Guid bucketId

    Id of the bucket.

    Guid entryId

    Id of the entry.

    Stream file

    Stream of the file.

    Properties

    BucketId

    Id of bucket to upload.

    Declaration
    public Guid BucketId { get; set; }
    Property Value
    Type Description
    Guid

    ChunkSize

    Size to chunk file in MB. Default is 5MB.

    Declaration
    public double ChunkSize { get; set; }
    Property Value
    Type Description
    double

    EntryId

    Id of the entry to upload.

    Declaration
    public Guid EntryId { get; set; }
    Property Value
    Type Description
    Guid

    File

    Stream of the file to be uploaded.

    Declaration
    public Stream File { get; set; }
    Property Value
    Type Description
    Stream

    OnProgressed

    Progress delegate to run on progress.

    Declaration
    public ProgressDelegate OnProgressed { get; set; }
    Property Value
    Type Description
    ProgressDelegate
    In This Article
    Back to top
    Copyright © 2025 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)