docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAttachment

    Defines the base interface for attachments in the Collaboration SDK. Attachments are used to provide additional context to annotations through various formats, such as files or other data types that can be associated with annotations.

    Namespace: Unity.Cloud.Collaboration.Models.Attachments
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface IAttachment

    Properties

    AttachmentId

    Id of the Attachment.

    Declaration
    [DataMember(Name = "attachmentId", EmitDefaultValue = true)]
    AttachmentId AttachmentId { get; }
    Property Value
    Type Description
    AttachmentId

    Created

    The timestamp when the attachment was created, in ISO format.

    Declaration
    [DataMember(Name = "created", EmitDefaultValue = true)]
    DateTime Created { get; }
    Property Value
    Type Description
    DateTime

    CreatedBy

    The Unity account Id of the user who created the attachment.

    Declaration
    [DataMember(Name = "createdBy", EmitDefaultValue = true)]
    string CreatedBy { get; }
    Property Value
    Type Description
    string

    Metadata

    Metadata for the Attachment

    Declaration
    [DataMember(Name = "metadata", EmitDefaultValue = true)]
    Dictionary<string, string> Metadata { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    Type

    The type of the Attachment, this should be used to identify the specific type of Attachment given

    Declaration
    [DataMember(Name = "type", EmitDefaultValue = true)]
    string Type { get; }
    Property Value
    Type Description
    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)