docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CreateAnnotationAttachmentResult

    Represents the result of creating an annotation attachment, including the attachment ID and upload URLs.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public readonly struct CreateAnnotationAttachmentResult

    Constructors

    CreateAnnotationAttachmentResult(AttachmentId, string, Dictionary<string, string>)

    Initializes a new instance of the CreateAnnotationAttachmentResult struct.

    Declaration
    public CreateAnnotationAttachmentResult(AttachmentId attachmentId = default, string uploadUrl = null, Dictionary<string, string> uploadUrls = null)
    Parameters
    Type Name Description
    AttachmentId attachmentId

    The unique identifier of the created annotation attachment.

    string uploadUrl

    The upload URL for the sole file in the attachment.

    Dictionary<string, string> uploadUrls

    A dictionary of upload URLs for the files in the created attachment.

    Fields

    AttachmentId

    Attachment ID of created Annotation attachment

    Declaration
    public readonly AttachmentId AttachmentId
    Field Value
    Type Description
    AttachmentId

    UploadUrl

    The upload url for the sole file in the attachment. Only returned if there is a single file in the attachment, otherwise UploadUrls will be used.

    Declaration
    public readonly string UploadUrl
    Field Value
    Type Description
    string

    UploadUrls

    A dictionary of upload URLs for the files in the created attachment. Only returned if there are multiple file in the attachment, otherwise UploadUrl will be used.

    Declaration
    public readonly IReadOnlyDictionary<string, string> UploadUrls
    Field Value
    Type Description
    IReadOnlyDictionary<string, string>
    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)