ChannelGroup

A representation of a PubNub channel group identified by its name.

You can get a Subscription to this channel group through Subscribable.subscription.

Use the com.pubnub.api.java.PubNub.channelGroup factory method to create instances of this interface.

Properties

Link copied to clipboard
abstract val name: String

The name of this channel group.

Functions

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

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