Package-level declarations

Types

Link copied to clipboard
interface EventEmitter

Interface implemented by objects that are the source of real time events from the PubNub network.

Link copied to clipboard
actual interface EventListener : <ERROR CLASS> ERROR CLASS: Symbol not found for Listener

Implement this interface and pass it into EventEmitter.addListener to listen for events from the PubNub real-time network.

expect interface EventListener : Listener

Implement this interface and pass it into EventEmitter.addListener to listen for events from the PubNub real-time network.

actual interface EventListener : Listener

Implement this interface and pass it into EventEmitter.addListener to listen for events from the PubNub real-time network.

actual interface EventListener : Listener

Implement this interface and pass it into EventEmitter.addListener to listen for events from the PubNub real-time network.

Link copied to clipboard
class EventListenerImpl(val underlying: ERROR CLASS: Symbol not found for KMPEventListener, val onMessage: (PubNub, ERROR CLASS: Symbol not found for PNMessageResult) -> Unit, val onPresence: (PubNub, ERROR CLASS: Symbol not found for PNPresenceEventResult) -> Unit, val onSignal: (PubNub, ERROR CLASS: Symbol not found for PNSignalResult) -> Unit, val onMessageAction: (PubNub, ERROR CLASS: Symbol not found for PNMessageActionResult) -> Unit, val onObjects: (PubNub, PNObjectEventResult) -> Unit, val onFile: (PubNub, ERROR CLASS: Symbol not found for PNFileEventResult) -> Unit) : EventListener
Link copied to clipboard
interface StatusEmitter

Interface implemented by objects that manage the subscription connection to the PubNub network and can be monitored for connection state changes.

Link copied to clipboard
actual interface StatusListener : <ERROR CLASS> ERROR CLASS: Symbol not found for Listener

Implement this interface and pass it into com.pubnub.api.v2.callbacks.StatusEmitter.addListener to listen for PubNub connection status changes.

expect interface StatusListener : Listener

Implement this interface and pass it into com.pubnub.api.v2.callbacks.StatusEmitter.addListener to listen for PubNub connection status changes.

actual interface StatusListener : Listener

Implement this interface and pass it into com.pubnub.api.v2.callbacks.StatusEmitter.addListener to listen for PubNub connection status changes.

actual interface StatusListener : Listener

Implement this interface and pass it into com.pubnub.api.v2.callbacks.StatusEmitter.addListener to listen for PubNub connection status changes.

Link copied to clipboard
class StatusListenerImpl(val underlying: ERROR CLASS: Symbol not found for KMPStatusListener, val onStatusChange: (PubNub, ERROR CLASS: Symbol not found for PNStatus) -> Unit) : StatusListener