PNSubscriberState Constants Reference
Declared in | PNSubscriber.m |
---|---|
Availability | 4.0 |
PNSubscriberState
Definition
typedef NS_OPTIONS(NSUInteger, PNSubscriberState ) {
PNInitializedSubscriberState,
PNDisconnectedSubscriberState,
PNDisconnectedUnexpectedlySubscriberState,
PNConnectedSubscriberState,
PNAccessRightsErrorSubscriberState,
};
Constants
PNInitializedSubscriberState
-
State set when subscriber has been just initialized.
Available in 4.0
Declared In
PNSubscriber.m
. PNDisconnectedSubscriberState
-
State set at the moment when client received response on ‘leave’ request and not subscribed to any remote data objects live feed.
Available in 4.0
Declared In
PNSubscriber.m
. PNDisconnectedUnexpectedlySubscriberState
-
State set at the moment when client lost connection or experienced other issues with communication etsablished with \b PubNub service.
Available in 4.0
Declared In
PNSubscriber.m
. PNConnectedSubscriberState
-
State set at the moment when client received response with 200 status code for subcribe request with TT 0.
Available in 4.0
Declared In
PNSubscriber.m
. PNAccessRightsErrorSubscriberState
-
State set at the moment when client received response with 403 status code for subcribe request.
Available in 4.0
Declared In
PNSubscriber.m
.
Availability
4.0
Declared In
PNSubscriber.m