Method | Description | |
---|---|---|
Start ( string eventFilterId = null ) : void |
Start the SignalR connection asynchronously and subscribe to PlayStream events if successfully connected. Optionally pass an filter id to only be subscribed to specific types of PlayStream events. Event filters can be configured on GameManager.
|
|
Stop ( ) : void |
Sends a disconnect request to the server and stop the SignalR connection.
|
Method | Description | |
---|---|---|
OnConnectedCallback ( string filter ) : void | ||
OnDisconnectedCallback ( ) : void | ||
OnErrorCallback ( |
||
OnPlayStreamNotificationCallback ( object data ) : void | ||
OnReceivedCallback ( string msg ) : void | ||
OnReconnectedCallback ( ) : void | ||
OnSubscriptionErrorCallback ( object data ) : void | ||
OnSubscriptionSuccessCallback ( object data ) : void |
public static Start ( string eventFilterId = null ) : void | ||
eventFilterId | string | |
return | void |