Class Play
- Namespace
- Coherence.Runtime
- Assembly
- Coherence.Runtime.dll
[Obsolete("You should use the CloudService instance from CoherenceBridge to communicate with the coherence Cloud.")]
[Deprecated("26/02/2023", 1, 0, 0, Reason = "CloudService has been implemented.")]
public static class Play
- Inheritance
-
Play
Properties
IsLoggedIn
[Obsolete("You should use the CloudService instance from CoherenceBridge to communicate with the coherence Cloud. CloudService.IsReady is the equivalent of IsLoggedIn")]
[Deprecated("26/02/2023", 1, 0, 0, Reason = "CloudService has been implemented.")]
public static bool IsLoggedIn { get; }
Property Value
- bool
Methods
Init(IRuntimeSettings, bool)
public static bool Init(IRuntimeSettings runtimeSettings, bool useWebSockets = true)
Parameters
runtimeSettings
IRuntimeSettings
useWebSockets
bool
Returns
- bool
Events
OnConnect
public static event Action OnConnect
Event Type
- Action
OnConnectionError
public static event Action OnConnectionError
Event Type
- Action
OnDisconnect
public static event Action OnDisconnect
Event Type
- Action