v2.4.0
2020.3+
Class SubscriptionEventCallbacks
Namespace: Unity.Services.CloudCode.Subscriptions
Syntax
public class SubscriptionEventCallbacksEvents
ConnectionStateChanged
Event called when the connection state of the events subscription changes.
Declaration
public event Action<EventConnectionState> ConnectionStateChangedEvent Type
| Type | Description | 
|---|---|
| Action<EventConnectionState> | 
Error
Event called when the subscription system sent an error message.
Declaration
public event Action<string> ErrorEvent Type
| Type | Description | 
|---|---|
| Action<String> | 
Kicked
Event called when subscription was kicked remotely.
Declaration
public event Action KickedEvent Type
| Type | Description | 
|---|---|
| Action | 
MessageReceived
Event called when a message is received
Declaration
public event Action<IMessageReceivedEvent> MessageReceivedEvent Type
| Type | Description | 
|---|---|
| Action<IMessageReceivedEvent> |