API reference

IPubSubAdapter Interface

An interface for publishing and subscribing to a specific topic

Properties

OnSubscribed : UnityEvent
[Get]
Unity event when subscribed to a topic
Signature
UnityEvent Meta.Voice.Net.PubSub.IPubSubAdapter.OnSubscribed
OnUnsubscribed : UnityEvent
[Get]
Unity event when unsubscribing from a topic
Signature
UnityEvent Meta.Voice.Net.PubSub.IPubSubAdapter.OnUnsubscribed
Settings : PubSubSettings
[Get][Set]
The publish and subscribe settings
Signature
PubSubSettings Meta.Voice.Net.PubSub.IPubSubAdapter.Settings
SubscriptionState : PubSubSubscriptionState
[Get]
The current topic subscription state
Signature
PubSubSubscriptionState Meta.Voice.Net.PubSub.IPubSubAdapter.SubscriptionState

Events

OnTopicSubscriptionStateChange : Action< PubSubSubscriptionState >
A callback when topic subscription state changes
Signature
Action<PubSubSubscriptionState> Meta.Voice.Net.PubSub.IPubSubAdapter.OnTopicSubscriptionStateChange