subscription

abstract override fun subscription(options: SubscriptionOptions): Subscription

Returns a Subscription that can be used to subscribe to this channel metadata.

com.pubnub.api.v2.subscriptions.SubscriptionOptions.filter can be used to filter events delivered to the subscription.

Return

an inactive Subscription to this channel metadata. You must call Subscription.subscribe to start receiving events.

Parameters

options