API reference

IPubSubSubscriber Interface

An interface for subscribing and unsubscribing from a specific topic

Events

OnTopicSubscriptionStateChange : PubSubTopicSubscriptionDelegate
Callback when subscription state changes for a specific topic id
Signature
PubSubTopicSubscriptionDelegate Meta.Voice.Net.PubSub.IPubSubSubscriber.OnTopicSubscriptionStateChange

Methods

GetTopicSubscriptionState ( topicId )
Obtains the current subscription state for a specific topic
Signature
PubSubSubscriptionState Meta.Voice.Net.PubSub.IPubSubSubscriber.GetTopicSubscriptionState(string topicId)
Parameters
topicId: string
Subscribe ( topicId )
Method to subscribe to a specific topic id
Signature
void Meta.Voice.Net.PubSub.IPubSubSubscriber.Subscribe(string topicId)
Parameters
topicId: string
Returns
void
Unsubscribe ( topicId )
Method to unsubscribe from a specific topic id
Signature
void Meta.Voice.Net.PubSub.IPubSubSubscriber.Unsubscribe(string topicId)
Parameters
topicId: string
Returns
void