CSMobileSession Class Reference

Inherits from CSSession : NSObject
Declared in CSMobileSession.h

Overview

This class is used to keep track of a mobile session.

  storeRegionToNotifyOpsOfArrival

The store which is currently being used to notify the StoreOps personnel. Calling this method outside the delegate call session:canNotifyAssociateAtStoreRegion will return the CSStoreRegion where the StoreOps personnel can be notified.

@property (nonatomic, readonly) CSStoreRegion *storeRegionToNotifyOpsOfArrival

Discussion

The store which is currently being used to notify the StoreOps personnel. Calling this method outside the delegate call session:canNotifyAssociateAtStoreRegion will return the CSStoreRegion where the StoreOps personnel can be notified.

Declared In

CSMobileSession.h

  lastStoreOpsNotification

The last CSStoreOpsNotification received.

@property (nonatomic, readonly) CSStoreOpsNotification *lastStoreOpsNotification

Discussion

The last CSStoreOpsNotification received.

Declared In

CSMobileSession.h

– notifyStoreOpsOfCustomerArrivalAtStoreRegion:error:

Calling this method on the store CSStoreRegion for which the StoreOps personnel can be notified of customer arrival. This would then be indicated in the CSSUserLocationUpdate object as the customerArrivalNotificationInfo.

- (BOOL)notifyStoreOpsOfCustomerArrivalAtStoreRegion:(CSStoreRegion *)storeRegion error:(NSError **)error

Discussion

Calling this method on the store CSStoreRegion for which the StoreOps personnel can be notified of customer arrival. This would then be indicated in the CSSUserLocationUpdate object as the customerArrivalNotificationInfo.

Returns YES if it was successful in the transaction, NO otherwise. error : describes the error reason why the method NO. The method will return NO if any of the following conditions are true: - There are no StoreOps personnel signed into the StoreOps app for this storeRegion - The store is closed - Network/Unknown error.

Declared In

CSMobileSession.h