WebSocketProvider[Get] The script used to provide the WitWebSocketClient | |
WebSocketClient[Get] The current web socket client | |
string | TopicId[Get] The topic to be used for publishing/subscribing to the current client provider |
UnityEvent | OnSubscribed[Get] Callback when successfully subscribed to the current topic |
UnityEvent | OnUnsubscribed[Get] Callback when successfully unsubscribed from the current topic |
Action< IWitWebSocketRequest > | Callback when a request is generated for the subscribed topic |
void | SetClientProvider ( IWitWebSocketClientProvider clientProvider ) Safely sets the new web socket client provider if possible |
void | SendRequest ( IWitWebSocketRequest request ) Send a request with a specified topic |
void | SetTopicId ( string newTopicId ) Set the topic, unsubscribe to the previous & subscribe to a new |
| IWitWebSocketClientProvider Meta.Voice.Net.WebSockets.WitWebSocketAdapter.WebSocketProvider |
|---|
The script used to provide the WitWebSocketClient |
| WitWebSocketClient Meta.Voice.Net.WebSockets.WitWebSocketAdapter.WebSocketClient |
|---|
The current web socket client |
| string Meta.Voice.Net.WebSockets.WitWebSocketAdapter.TopicId |
|---|
The topic to be used for publishing/subscribing to the current client provider |
| UnityEvent Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnSubscribed |
|---|
Callback when successfully subscribed to the current topic |
| UnityEvent Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnUnsubscribed |
|---|
Callback when successfully unsubscribed from the current topic |
| Action<IWitWebSocketRequest> Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnRequestGenerated ( ) |
|---|
Callback when a request is generated for the subscribed topic |
| virtual void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnEnable ( ) |
|---|
No description available.
|
| virtual void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.HandleSubscriptionStateChange ( string topicId, PubSubSubscriptionState state ) |
|---|
No description available.
|
| virtual void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.HandleRequestGenerated ( string topicId, IWitWebSocketRequest request ) |
|---|
No description available.
|
| virtual void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnDisable ( ) |
|---|
No description available.
|
| virtual void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.OnDestroy ( ) |
|---|
No description available.
|
| void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.SetClientProvider ( IWitWebSocketClientProvider clientProvider ) |
|---|
Safely sets the new web socket client provider if possible |
| void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.SendRequest ( IWitWebSocketRequest request ) |
|---|
Send a request with a specified topic |
| void Meta.Voice.Net.WebSockets.WitWebSocketAdapter.SetTopicId ( string newTopicId ) |
|---|
Set the topic, unsubscribe to the previous & subscribe to a new |