Class: SubscriptionEvent

SubscriptionEvent(type, topicId)

new SubscriptionEvent(type, topicId)

Information about how a subscription went on the server side. If you do two subscriptions to the same Topic, you will still only get one such message - thus if you want one for each, you'd better add two listeners too, before doing any of the subscribes.

Note: this also fires upon every reconnect. Make note of the SubscriptionEventType#LOST_MESSAGES!

Parameters:
Name Type Description
type SubscriptionEventType
topicId string
Source:

Members

topicId :string

What TopicIc this relates to.
Type:
  • string
Source:

type :SubscriptionEventType

How the subscription fared.
Type:
Source: