All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pubnub.internal.v2.entities.UserMetadataImpl.kt Maven / Gradle / Ivy

package com.pubnub.internal.v2.entities

import com.pubnub.api.v2.callbacks.EventListener
import com.pubnub.api.v2.entities.UserMetadata
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 UserMetadataImpl(pubnub: PubNubImpl, id: String) :
    BaseUserMetadataImpl(
        pubnub.pubNubCore,
        ChannelName(id),
        { channels, channelGroups, options -> SubscriptionImpl(pubnub, channels, channelGroups, options) },
    ),
    UserMetadata {
    override fun subscription(): Subscription {
        return subscription(EmptyOptions)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy