Class SubscriptionEventCallbacks
Inherited Members
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 |
MessageBytesReceived
Event called when a message bytes is received
Declaration
public event Action<byte[]> MessageBytesReceived
Event Type
| Type | Description |
|---|---|
| Action<byte[]> |
MessageReceived
Event called when a message is received
Declaration
public event Action<IMessageReceivedEvent> MessageReceived
Event Type
| Type | Description |
|---|---|
| Action<IMessageReceivedEvent> |