v2.4.0
2020.3+
Enum EventConnectionState
An enum describing the current state of a Cloud Code Event subscription's connection status.
Namespace: Unity.Services.CloudCode.Subscriptions
Syntax
public enum EventConnectionState
Fields
Name | Description | Value |
---|---|---|
Unknown | The cloud code event subscription has reached an unknown state. | 0 |
Unsubscribed | The cloud code event subscription is currently unsubscribed. | 1 |
Subscribing | The cloud code event subscription is currently trying to connect to the service. | 2 |
Subscribed | The cloud code event subscription is currently connected, and ready to receive messages. | 3 |
Unsynced | The cloud code event subscription is currently connected, but for some reason is having trouble receiving messages. | 4 |
Error | The cloud code event subscription is currently in an error state, and won't recover on its own. | 5 |