Notifications Available
A summary of the notifications that can be observed
Observing notifications
In order to observe notifications from proxitee you use the exposed [PXTProxitee shared].notifications
object this is a subclass of NSNotificationCenter
so should have a familiar interface, below is an example of observing for a notification:
[[PXTProxitee shared].notifications addObserver:self selector:@selector(receivedBeacons:) name:kPXTBeaconManagerDidReceiveBeaconsNotification object:nil];
Cleaning up
When a class no longer needs to observe a notification it must call one of the
removeObserver
methods.
Notifications
UserInfo Item | Description | Constant |
---|---|---|
error - Error that occured | An error occurs inside the GeoFenceManager | kPXTGeoFenceManagerDidFailWithErrorNotification |
geofence - Geo Fence that was entered | Geo Fence has been entered | kPXTGeoFenceManagerDidEnterGeoFenceNotification |
geofence - Geo Fence that was exited | Geo Fence has been exited | kPXTGeoFenceManagerDidExitGeoFenceNotification |
region - Region being monitored | Started monitoring for GeoFences | kPXTGeoFenceManagerDidStartMonitoringNotification |
error - Error that occured | An error occurs inside the BeaconManager | kPXTBeaconManagerDidFailWithErrorNotification |
Discovered that the app has not been authorized to discover beacons | kPXTBeaconManagerDidDiscoverApplicationUnauthorizedNotification | |
region - Beacon region that was entered | Beacon region has been entered | kPXTBeaconManagerDidEnterBeaconRegionNotification |
region - Beacon region that was exited | Beacon region has been exited | kPXTBeaconManagerDidExitBeaconRegionNotification |
beacons - Received Beacons | Beacons are received | kPXTBeaconManagerDidReceiveBeaconsNotification |
error - Error that occured | An error occurs inside the InteractionManager | kPXTInteractionManagerDidFailWithErrorNotification |
interaction - Interaction activity response | Interaction activity has taken place | kPXTInteractionManagerDidReceiveInteractionNotification |
action - Action that was executed | An action has been executed | kPXTActionsManagerDidExecuteActionNotification |
Updated less than a minute ago