docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UpdateSketchAttachmentRequest

    Represents a request to update an existing Sketch attachment in annotation

    Inheritance
    object
    UpdateSketchAttachmentRequest
    Implements
    IUpdateSketchAttachmentRequest
    IUpdateAttachmentRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Collaboration.Models.AttachmentRequest
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public class UpdateSketchAttachmentRequest : IUpdateSketchAttachmentRequest, IUpdateAttachmentRequest

    Constructors

    UpdateSketchAttachmentRequest(string, ICameraDetails, TimeDetails?, IRequestFileDetails, IRequestFileDetails, Dictionary<string, object>)

    Initializes a new instance of the UpdateSketchAttachmentRequest class with the specified sketch data, camera details, time, preview, sketch image, and metadata.

    Declaration
    public UpdateSketchAttachmentRequest(string sketchData, ICameraDetails camera, TimeDetails? time = null, IRequestFileDetails preview = null, IRequestFileDetails sketchImage = null, Dictionary<string, object> metadata = null)
    Parameters
    Type Name Description
    string sketchData

    The sketch data to be attached.

    ICameraDetails camera

    The camera details associated with the sketch.

    TimeDetails? time

    The time details for the sketch attachment.

    IRequestFileDetails preview

    The preview file details for the sketch.

    IRequestFileDetails sketchImage

    The image file details for the sketch.

    Dictionary<string, object> metadata

    Additional metadata for the sketch attachment.

    Properties

    Camera

    Camera data structure.

    Declaration
    public ICameraDetails Camera { get; }
    Property Value
    Type Description
    ICameraDetails

    Metadata

    Declaration
    public Dictionary<string, object> Metadata { get; }
    Property Value
    Type Description
    Dictionary<string, object>

    Preview

    File data for sketch attachment

    Declaration
    public IRequestFileDetails Preview { get; }
    Property Value
    Type Description
    IRequestFileDetails

    SketchData

    The JSON data of the sketch.

    Declaration
    public string SketchData { get; }
    Property Value
    Type Description
    string

    SketchImage

    File data for sketch attachment

    Declaration
    public IRequestFileDetails SketchImage { get; }
    Property Value
    Type Description
    IRequestFileDetails

    Time

    Time data structure.

    Declaration
    public TimeDetails? Time { get; }
    Property Value
    Type Description
    TimeDetails?

    Type

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

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    string
    Examples

    "file" | "other"

    Implements

    IUpdateSketchAttachmentRequest
    IUpdateAttachmentRequest
    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)