GMBLPlaceManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | GMBLPlaceManager.h |
Overview
The GMBLPlaceManager defines the interface for delivering place entry and exits events to your Gimbal enabled application. You use an instance of this class to start or stop place monitoring.
In order to use the place manager, you must assign a class that conforms to the GMBLPlaceManagerDelegate to the delegate property in order to receive place entry and exit events.
delegate
The delegate object to receive place events.
@property (weak, nonatomic) id<GMBLPlaceManagerDelegate> delegate
Discussion
The delegate object to receive place events.
Declared In
GMBLPlaceManager.h
+ isMonitoring
Returns the monitoring state
+ (BOOL)isMonitoring
Discussion
Returns the monitoring state
Declared In
GMBLPlaceManager.h
+ startMonitoring
Starts the generation of events based on the users location and proximity to geofences and beacons.
+ (void)startMonitoring
Discussion
Starts the generation of events based on the users location and proximity to geofences and beacons.
Declared In
GMBLPlaceManager.h
+ stopMonitoring
Stops the generation of events.
+ (void)stopMonitoring
Discussion
Stops the generation of events.
Declared In
GMBLPlaceManager.h
– allNearbyPlaces
Returns all nearby places in the current area. Suitable for debug usage only.
- (NSArray<GMBLPlace*> *)allNearbyPlaces
Return Value
NSArray of GMBLPlace objects.
Discussion
Returns all nearby places in the current area. Suitable for debug usage only.
Declared In
GMBLPlaceManager.h
– currentVisits
Get all current visits.
- (NSArray<GMBLVisit*> *)currentVisits
Return Value
NSArray of GMBLVisits for places that you are currently AT. The array returned is ordered ascending by arrival date.
Discussion
Get all current visits.
Declared In
GMBLPlaceManager.h