docs.unity3d.com
    Show / Hide Table of Contents

    Class UploadContentOptions

    Parameters for uploading content.

    Inheritance
    Object
    UploadContentOptions
    Namespace: Unity.Services.Ccd.Management
    Syntax
    public class UploadContentOptions : object

    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
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023