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 ItemDescriptionConstant
error - Error that occuredAn error occurs inside the GeoFenceManagerkPXTGeoFenceManagerDidFailWithErrorNotification
geofence - Geo Fence that was enteredGeo Fence has been enteredkPXTGeoFenceManagerDidEnterGeoFenceNotification
geofence - Geo Fence that was exitedGeo Fence has been exitedkPXTGeoFenceManagerDidExitGeoFenceNotification
region - Region being monitoredStarted monitoring for GeoFenceskPXTGeoFenceManagerDidStartMonitoringNotification
error - Error that occuredAn error occurs inside the BeaconManagerkPXTBeaconManagerDidFailWithErrorNotification
Discovered that the app has not been authorized to discover beaconskPXTBeaconManagerDidDiscoverApplicationUnauthorizedNotification
region - Beacon region that was enteredBeacon region has been enteredkPXTBeaconManagerDidEnterBeaconRegionNotification
region - Beacon region that was exitedBeacon region has been exitedkPXTBeaconManagerDidExitBeaconRegionNotification
beacons - Received BeaconsBeacons are receivedkPXTBeaconManagerDidReceiveBeaconsNotification
error - Error that occuredAn error occurs inside the InteractionManagerkPXTInteractionManagerDidFailWithErrorNotification
interaction - Interaction activity responseInteraction activity has taken placekPXTInteractionManagerDidReceiveInteractionNotification
action - Action that was executedAn action has been executedkPXTActionsManagerDidExecuteActionNotification