com.pubnub.internal.v2.entities.ChannelMetadataImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub-gson-impl Show documentation
Show all versions of pubnub-gson-impl Show documentation
PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!
package com.pubnub.internal.v2.entities
import com.pubnub.api.v2.callbacks.EventListener
import com.pubnub.api.v2.entities.ChannelMetadata
import com.pubnub.api.v2.subscriptions.EmptyOptions
import com.pubnub.api.v2.subscriptions.Subscription
import com.pubnub.internal.PubNubImpl
import com.pubnub.internal.v2.subscription.SubscriptionImpl
class ChannelMetadataImpl(pubnub: PubNubImpl, id: String) :
BaseChannelMetadataImpl(
pubnub.pubNubCore,
ChannelName(id),
{ channels, channelGroups, options -> SubscriptionImpl(pubnub, channels, channelGroups, options) },
),
ChannelMetadata {
override fun subscription(): Subscription {
return subscription(EmptyOptions)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy