docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UploadContentResponse

    New content creation response

    Inheritance
    object
    UploadContentResponse
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.UGC
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class UploadContentResponse

    Constructors

    UploadContentResponse(string, string, Dictionary<string, List<string>>, Dictionary<string, List<string>>, string, ContentDTO)

    Initializes a new instance of the UploadContentResponse class.

    Declaration
    [Preserve]
    public UploadContentResponse(string uploadThumbnailUrl = null, string uploadContentUrl = null, Dictionary<string, List<string>> uploadContentHeaders = null, Dictionary<string, List<string>> uploadThumbnailHeaders = null, string version = null, ContentDTO content = null)
    Parameters
    Type Name Description
    string uploadThumbnailUrl

    The URL in which to upload the content's thumbnail image.

    string uploadContentUrl

    The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely..

    Dictionary<string, List<string>> uploadContentHeaders

    The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl.

    Dictionary<string, List<string>> uploadThumbnailHeaders

    The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl.

    string version

    version.

    ContentDTO content

    content.

    Properties

    Content

    Gets or Sets Content

    Declaration
    [Preserve]
    public ContentDTO Content { get; set; }
    Property Value
    Type Description
    ContentDTO

    UploadContentHeaders

    The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl

    Declaration
    [Preserve]
    public Dictionary<string, List<string>> UploadContentHeaders { get; set; }
    Property Value
    Type Description
    Dictionary<string, List<string>>

    The headers that were used when generating the Content signed url. Forward these when uploading to the UploadContentUrl

    UploadContentUrl

    The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely.

    Declaration
    [Preserve]
    public string UploadContentUrl { get; set; }
    Property Value
    Type Description
    string

    The URL in which to upload the content. Once the Content is successfully uploaded, the Content will be created in UGC and the OptimisticContentDTO can be used safely.

    UploadThumbnailHeaders

    The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl

    Declaration
    [Preserve]
    public Dictionary<string, List<string>> UploadThumbnailHeaders { get; set; }
    Property Value
    Type Description
    Dictionary<string, List<string>>

    The headers that were used when generating the Thumbnail signed url. Forward these when uploading to the UploadThumbnailUrl

    UploadThumbnailUrl

    The URL in which to upload the content's thumbnail image

    Declaration
    [Preserve]
    public string UploadThumbnailUrl { get; set; }
    Property Value
    Type Description
    string

    The URL in which to upload the content's thumbnail image

    _Version

    Gets or Sets _Version

    Declaration
    [Preserve]
    public string _Version { get; set; }
    Property Value
    Type Description
    string
    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)