ChannelMetadata

A representation of a PubNub entity for tracking channel metadata changes.

You can get a Subscription to listen for metadata events through Subscribable.subscription.

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

Properties

Link copied to clipboard
abstract val id: String

The id for this channel metadata object.

Functions

Link copied to clipboard
abstract fun subscription(): Subscription

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

abstract override fun subscription(options: SubscriptionOptions): Subscription

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