CSSessionState Constants Reference

Declared in CSConstants.h

CSSessionState

Note: The session has to be in CSSessionStateValid state to be able to use CSTracker or CSStoreArrivalTracker

Definition

typedef NS_ENUM(NSInteger, CSSessionState ) {
   CSSessionStateUnknown = 0,
   CSSessionStateInvalidKeys = 1,
   CSSessionStateAuthenticated = 2,
   CSSessionStateValid = 3,
   CSSessionStateNetworkError = 4,
};

Constants

CSSessionStateUnknown

Initial state. Validation not complete.

Declared In CSConstants.h.

CSSessionStateInvalidKeys

API Key/Secret used is invalid

Declared In CSConstants.h.

CSSessionStateAuthenticated

API Key/Secret have been validated and there is no tracking identifier set

Declared In CSConstants.h.

CSSessionStateValid

API Key/Secret have been validated and there is a valid tracking identifier assigned. The session has to be in this state to be able to use CSTracker or CSStoreArrivalTracker

Declared In CSConstants.h.

CSSessionStateNetworkError

Unable to contact server for validation. SDK will retry to make a valid connection.

Declared In CSConstants.h.

Declared In

CSConstants.h