PNNetworkUpCategory | ❌ | ❌ | ✅ | The SDK detected that the network is online (connection is restored). |
PNNetworkDownCategory | ❌ | ❌ | ✅ | The SDK announces this when a connection isn't available, or when the SDK isn't able to reach PubNub servers. |
PNNetworkIssuesCategory | ✅ | ❌ | ❌ | A subscribe event experienced an exception when running. The SDK isn't able to reach PubNub servers.
This may be due to many reasons, like the machine or device isn't connected to the Internet, the Internet connection has been lost, your Internet service provider is having trouble, or the SDK is behind a proxy. |
PNConnectedCategory | ❌ | ❌ | ✅ | The SDK subscribed with a new mix of channels and is ready to receive real-time updates. This is fired every time the channel or channel group mix changes. |
PNConnectionErrorCategory | ❌ | ✅ | ❌ | Returned when the previously started subscribe loop failed, and the client disconnected from real-time data channels. It can happen because of permissions errors or because network is down. |
PNReconnectedCategory | ✅ | ❌ | ❌ | The SDK was able to reconnect to PubNub and is ready to receive real-time updates. |
PNDisconnectedCategory | ❌ | ✅ | ❌ | PubNub client disconnected from the real-time updates streams. |
PNDisconnectedUnexpectedlyCategory | ❌ | ✅ | ❌ | The connection was unexpectedly disconnected. |
PNAccessDeniedCategory | ✅ | ❌ | ❌ | The PubNub SDK wasn't able to process a request because the authorization key doesn't have read permissions for the required channels/channel groups (Access Manager permission failure). |
PNBadRequestCategory | ✅ | ❌ | ❌ | The server responded with a bad response error because the request is malformed (not all required parameters were provided or the server wasn't able to parse the request). |
PNTimeoutCategory | ✅ | ❌ | ❌ | Failure to establish a connection to PubNub due to a timeout (server didn't respond within the specified time frame). |
PNRequestMessageCountExceededCategory | ✅ | ❌ | ❌ | The SDK announces this error if requestMessageCountThreshold is set, and the number of messages received from PubNub (in-memory cache messages) exceeds the threshold. It may suggest that Message Persistence should be enabled on the keyset. |
PNUnknownCategory | ✅ | ❌ | ❌ | Returned when the subscriber gets a non-200 HTTP response code from the server (unidentified reasons). |