docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IMessageReceivedEvent

    Event triggered when a message is received from Cloud Code.

    Namespace: Unity.Services.CloudCode.Subscriptions
    Assembly: Unity.Services.CloudCode.dll
    Syntax
    public interface IMessageReceivedEvent

    Properties

    CorrelationId

    Getter for the correlation id that the message is for.

    Declaration
    string CorrelationId { get; }
    Property Value
    Type Description
    string

    The correlation id.

    EnvironmentId

    Getter for the environment id that the message is for.

    Declaration
    string EnvironmentId { get; }
    Property Value
    Type Description
    string

    The environment id.

    Id

    Getter for the id of the received message's envelope.

    Declaration
    string Id { get; }
    Property Value
    Type Description
    string

    The id.

    Message

    Getter for the message that was sent from Cloud Code for the player.

    Declaration
    string Message { get; }
    Property Value
    Type Description
    string

    The received message.

    MessageType

    Getter for the type of message that was received.

    Declaration
    string MessageType { get; }
    Property Value
    Type Description
    string

    The type of message that was received.

    ProjectId

    Getter for the project id that the message is for.

    Declaration
    string ProjectId { get; }
    Property Value
    Type Description
    string

    The project id.

    Source

    Getter for the source of the message's envelope.

    Declaration
    string Source { get; }
    Property Value
    Type Description
    string

    The source.

    SpecVersion

    Getter for the spec version of the received message's envelope.

    Declaration
    string SpecVersion { get; }
    Property Value
    Type Description
    string

    The spec version.

    Time

    Getter for the time when the message was created.

    Declaration
    DateTime Time { get; }
    Property Value
    Type Description
    DateTime

    The date and time.

    Type

    Getter for the type of the message's envelope.

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

    The source.

    In This Article
    Back to top
    Copyright © 2025 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)