Subscribable

interface Subscribable

This interface is implemented by entities that can be subscribed to, such as channels, channel groups, and user and channel metadata.

Inheritors

Functions

Link copied to clipboard
abstract fun subscription(options: SubscriptionOptions = EmptyOptions): Subscription

Returns a com.pubnub.api.v2.subscriptions.Subscription that can be used to subscribe to this Subscribable.