kotlin

//pubnub-kotlin-api/com.pubnub.api.v2.callbacks

Package-level declarations

Types

Name Summary
EventEmitter [jvm]
interface EventEmitter : BaseEventEmitter<EventListener>
Interface implemented by objects that are the source of real time events from the PubNub network.
EventListener [jvm]
interface EventListener : BaseEventListener
Implement this interface and pass it into EventEmitter.addListener to listen for events from the PubNub real-time network.
StatusEmitter [jvm]
interface StatusEmitter : BaseStatusEmitter<StatusListener>
Interface implemented by objects that manage the subscription connection to the PubNub network and can be monitored for connection state changes.
StatusListener [jvm]
interface StatusListener : BaseStatusListener
Implement this interface and pass it into com.pubnub.api.v2.callbacks.StatusEmitter.addListener to listen for PubNub connection status changes.