pubnub-kotlin-docs
Toggle table of contents
13.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
pubnub-kotlin-docs
pubnub-gson-api
/
com.pubnub.api.java.callbacks
/
SubscribeCallback
Subscribe
Callback
abstract
class
SubscribeCallback
:
StatusListener
,
EventListener
Inheritors
BaseSubscribeCallback
Members
Constructors
Subscribe
Callback
Link copied to clipboard
constructor
(
)
Types
Base
Subscribe
Callback
Link copied to clipboard
open
class
BaseSubscribeCallback
:
SubscribeCallback
,
EventListener
Functions
channel
Link copied to clipboard
open
fun
channel
(
pubnub
:
PubNub
,
pnChannelMetadataResult
:
PNChannelMetadataResult
)
file
Link copied to clipboard
open
fun
file
(
pubnub
:
PubNub
,
result
:
PNFileEventResult
)
membership
Link copied to clipboard
open
fun
membership
(
pubnub
:
PubNub
,
pnMembershipResult
:
PNMembershipResult
)
message
Link copied to clipboard
open
fun
message
(
pubnub
:
PubNub
,
result
:
PNMessageResult
)
message
Action
Link copied to clipboard
open
fun
messageAction
(
pubNub
:
PubNub
,
result
:
PNMessageActionResult
)
presence
Link copied to clipboard
open
fun
presence
(
pubnub
:
PubNub
,
result
:
PNPresenceEventResult
)
signal
Link copied to clipboard
open
fun
signal
(
pubnub
:
PubNub
,
result
:
PNSignalResult
)
status
Link copied to clipboard
abstract
fun
status
(
pubnub
:
PubNub
,
status
:
PNStatus
)
Receive status updates from the PubNub client, such as:
uuid
Link copied to clipboard
open
fun
uuid
(
pubnub
:
PubNub
,
pnUUIDMetadataResult
:
PNUUIDMetadataResult
)