docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SubscriptionEventCallbacks

    Inheritance
    object
    SubscriptionEventCallbacks
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.CloudCode.Subscriptions
    Assembly: Unity.Services.CloudCode.dll
    Syntax
    public class SubscriptionEventCallbacks

    Events

    ConnectionStateChanged

    Event called when the connection state of the events subscription changes.

    Declaration
    public event Action<EventConnectionState> ConnectionStateChanged
    Event Type
    Type Description
    Action<EventConnectionState>

    Error

    Event called when the subscription system sent an error message.

    Declaration
    public event Action<string> Error
    Event Type
    Type Description
    Action<string>

    Kicked

    Event called when subscription was kicked remotely.

    Declaration
    public event Action Kicked
    Event Type
    Type Description
    Action

    MessageReceived

    Event called when a message is received

    Declaration
    public event Action<IMessageReceivedEvent> MessageReceived
    Event Type
    Type Description
    Action<IMessageReceivedEvent>
    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)