v1.0.0
2022.3+
Enum SessionEventConnectionState
An enum describing the current state of a Session Event subscription's connection status.
Namespace: Unity.Services.Multiplayer
Syntax
public enum SessionEventConnectionStateFields
| Name | Description | Value |
|---|---|---|
| Unknown | The session event subscription has reached an unknown state. | 0 |
| Unsubscribed | The session event subscription is currently unsubscribed. | 1 |
| Subscribing | The session event subscription is currently trying to connect to the service. | 2 |
| Subscribed | The session event subscription is currently connected, and ready to receive notifications. | 3 |
| Unsynced | The session event subscription is currently connected, but for some reason is having trouble receiving notifications. | 4 |
| Error | The session event subscription is currently in an error state, and won't recover on its own. | 5 |