v2.4.0
2020.3+
Class SubscriptionEventCallbacks
Namespace: Unity.Services.CloudCode.Subscriptions
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> |