referance content
Publish
Category | Description |
---|---|
PNNetworkIssuesCategory | The SDK is not being to able reach the PubNub Data Stream Network because the machine or device are not connected to Internet or this has been lost, your ISP (Internet Service Provider) is having to troubles or perhaps or the SDK is behind of a proxy. |
PNBadRequestCategory | The SDK will return PNBadRequestCategory when are published messages and the instance of the SDK was not initialized with the publishKey . |
When it notified an error which does not contain the category included, this will be a validation error because the channel or message or even both are been missing in the publication. |
Subscription
Categories | Description |
---|---|
PNNetworkUpCategory | SDK detected that network is online. |
PNNetworkDownCategory | The SDK will announce this when connection is not available or this is not able to reach the PubNub Data Stream Network. |
PNNetworkIssuesCategory | A subscribe event experienced an exception when running. The SDK is not being to able reach the PubNub Data Stream Network because the machine or device are not connected to Internet or this has been lost, your ISP (Internet Service Provider) is having to troubles or perhaps or the SDK is behind of a proxy. |
PNReconnectedCategory | SDK was able to reconnect to pubnub. |
PNConnectedCategory | SDK subscribed with a new mix of channels (fired every time the channel / channel group mix changed). |
PNAccessDeniedCategory | PAM permission failure. |
PNMalformedResponseCategory | JSON parsing crashed. |
PNBadRequestCategory | The server responded with bad response because the request is malformed. |
PNDecryptionErrorCategory | If using decryption strategies and the decryption fails. |
PNTimeoutCategory | Failure to establish connection due to timeout. |
PNRequestMessageCountExceedCategory | The SDK will announce this error if requestMessageCountThreshold is set and the number of messages arrived from (PubNub in memory cache messages) are greater than this. |
PNUnknownCategory | This status code is returned when the subscriber get’s a non 200 HTTP response code from the server. |