GMBLPlaceManagerDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | GMBLPlaceManager.h |
Overview
The GMBLPlaceManagerDelegate protocol defines the methods used to receive events for the GMBLPlaceManager object.
– placeManager:didBeginVisit:
Tells the delegate that the user entered the specified place
- (void)placeManager:(GMBLPlaceManager *)manager didBeginVisit:(GMBLVisit *)visitParameters
manager |
The place manager object reporting the event |
|---|---|
visit |
An object containing place and date information about a new visit. |
Discussion
Tells the delegate that the user entered the specified place
Declared In
GMBLPlaceManager.h
– placeManager:didBeginVisit:withDelay:
Tells the delegate that the user entered the specified place and remained at the specified place with out exiting for the delay time period assigned to the place in manager.gimbal.com. Places with no assigned delay will call the delegate immediatly upon entry
- (void)placeManager:(GMBLPlaceManager *)manager didBeginVisit:(GMBLVisit *)visit withDelay:(NSTimeInterval)delayTimeParameters
manager |
The place manager object reporting the event |
|---|---|
visit |
An object containing place and date information about a new visit. |
delayTime |
The amount of time between the entry to the place and when the delegate gets called back |
Discussion
Tells the delegate that the user entered the specified place and remained at the specified place with out exiting for the delay time period assigned to the place in manager.gimbal.com. Places with no assigned delay will call the delegate immediatly upon entry
Declared In
GMBLPlaceManager.h
– placeManager:didReceiveBeaconSighting:forVisits:
Tells the delegate that a beacon in a place with a current visit was sighted. The delegate will get called back opportunistically - generally, no more often than every minute. This callback only applies to beacons, not to geofences.
- (void)placeManager:(GMBLPlaceManager *)manager didReceiveBeaconSighting:(GMBLBeaconSighting *)sighting forVisits:(NSArray *)visitsParameters
manager |
The place manager object reporting the event |
|---|---|
sighting |
Information about the beacon sighting |
visits |
An array of active GMBLVisit objects for places containing this beacon |
Discussion
Tells the delegate that a beacon in a place with a current visit was sighted. The delegate will get called back opportunistically - generally, no more often than every minute. This callback only applies to beacons, not to geofences.
Declared In
GMBLPlaceManager.h
– placeManager:didEndVisit:
Tells the delegate that the user exited the specified place
- (void)placeManager:(GMBLPlaceManager *)manager didEndVisit:(GMBLVisit *)visitParameters
manager |
The place manager object reporting the event |
|---|---|
visit |
An object containing place and date information about a visit that ended. |
Discussion
Tells the delegate that the user exited the specified place
Declared In
GMBLPlaceManager.h
– placeManager:didDetectLocation:
Tells the delegate that the user is currently at a specific location
- (void)placeManager:(GMBLPlaceManager *)manager didDetectLocation:(CLLocation *)locationParameters
manager |
The place manager object reporting the event |
|---|---|
location |
An object containing latitude, longitude and horizontal accuracy. |
Discussion
Tells the delegate that the user is currently at a specific location
Declared In
GMBLPlaceManager.h