v2.4.0
2020.3+

Class SubscriptionEventCallbacks

Inheritance
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
TypeDescription
Action<EventConnectionState>

Error

Event called when the subscription system sent an error message.

Declaration
public event Action<string> Error
Event Type
TypeDescription
Action<String>

Kicked

Event called when subscription was kicked remotely.

Declaration
public event Action Kicked
Event Type
TypeDescription
Action

MessageReceived

Event called when a message is received

Declaration
public event Action<IMessageReceivedEvent> MessageReceived
Event Type
TypeDescription
Action<IMessageReceivedEvent>