status

abstract fun status(pubnub: PubNub, status: PNStatus)

Receive status updates from the PubNub client, such as:

  • PNStatusCategory.PNConnectedCategory,

  • PNStatusCategory.PNDisconnectedCategory,

  • PNStatusCategory.PNSubscriptionChanged

  • PNStatusCategory.PNConnectionError,

  • PNStatusCategory.PNUnexpectedDisconnectCategory,

Parameters

pubnub

The client instance which has this listener attached.

status

Wrapper around the actual message content.

See also