PNStatusCategory

Check the status category via PNStatus.category in the com.pubnub.api.v2.callbacks.StatusListener added to a com.pubnub.api.PubNub object.

Entries

Link copied to clipboard

SDK successfully connected the Subscribe loop.

Link copied to clipboard

SDK subscribed with a new mix of channels (fired every time the channel / channel group mix changed) since the initial connection.

Link copied to clipboard

Previously started subscribe loop failed and at this moment client is disconnected from real-time data channels.

Link copied to clipboard

The subscription has been stopped as requested (when all channels and channel groups have been unsubscribed).

Link copied to clipboard

The subscription loop was not able to connect, and at this moment the client is disconnected from real-time data channels.

Link copied to clipboard

A background implicit Heartbeat request attempt failed.

Link copied to clipboard

A background implicit Heartbeat request was successful.

Link copied to clipboard

PubNub sent a malformed response. This may happen when you connect to a public WiFi Hotspot that requires you to auth via your web browser first, or if there is a proxy somewhere returning an HTML access denied error, or if there was an intermittent server issue.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.