docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IReactionService

    Provides methods for managing reactions to annotations within a project.

    Namespace: Unity.Cloud.Collaboration.Services.ReactionService
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface IReactionService

    Methods

    CreateAnnotationReactionAsync(ProjectId, AnnotationId, string, CancellationToken)

    Creates a new reaction to annotation

    Declaration
    Task CreateAnnotationReactionAsync(ProjectId projectId, AnnotationId annotationId, string code, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ProjectId projectId

    The ID of the project containing the annotation thread.

    AnnotationId annotationId

    The ID of the annotation thread to check the subscription against.

    string code

    A single-character Unicode emoji (UTF-16).

    CancellationToken cancellationToken

    Optional cancellation token to cancel the subscription request.

    Returns
    Type Description
    Task

    Task of void

    DeleteAnnotationReactionAsync(ProjectId, AnnotationId, string, CancellationToken)

    Delete annotation reaction.

    Declaration
    Task DeleteAnnotationReactionAsync(ProjectId projectId, AnnotationId annotationId, string code, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    ProjectId projectId

    The project Id.

    AnnotationId annotationId

    The ID of the annotation to which the attachment belongs.

    string code

    The single-character Unicode-encoded emoji (UTF-16 surrogate pairs).

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    Task

    Task of void

    Remarks

    Removes the current user from the specified annotation reaction.

    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)