SWRLBeaconManagerDelegate Protocol Reference

Conforms to NSObject
Declared in SWRLBeaconManager.h

Overview

The SWRLBeaconManager protocol defines the methods used to receive beacon update from the SWRLBeaconManager. Upon receiving a beacon event, you can use the result to update your user interface or perform other actions.

The methods of your delegate object are called from the thread associated with the dispatch queue that you used when you added the delegate. See addDelegate:queue: addDelegate:queue:)

– beaconManager:didDiscoverBeacon:

Tells the delegate that the beacon manager sighted a new beacon

- (void)beaconManager:(SWRLBeaconManager *)manager didDiscoverBeacon:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The new (unresolved) beacon

Declared In

SWRLBeaconManager.h

– beaconManager:didResolveBeacon:

Tells the delegate that the beacon manager was able to resolve the beacon.

- (void)beaconManager:(SWRLBeaconManager *)manager didResolveBeacon:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The resolved beacon

Declared In

SWRLBeaconManager.h

– beaconManager:didEnterBeacon:

Tells the delegate that the mobile device is within range of the beacon.

- (void)beaconManager:(SWRLBeaconManager *)manager didEnterBeacon:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The beacon that has been entered

Declared In

SWRLBeaconManager.h

– beaconManager:didChangeNearest:

Tells the delegate that the mobile device changed the beacon it is closest to.

- (void)beaconManager:(SWRLBeaconManager *)manager didChangeNearest:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The beacon that is now the nearest beacon

Declared In

SWRLBeaconManager.h

– beaconManager:didDwellBeacon:

Tells the delegate that the mobile device is still within range of the beacon. Called periodically.

- (void)beaconManager:(SWRLBeaconManager *)manager didDwellBeacon:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The beacon that the mobile device is within range of

Declared In

SWRLBeaconManager.h

– beaconManager:didExitBeacon:

Tells the delegate that the mobile device left the range of the beacon.

- (void)beaconManager:(SWRLBeaconManager *)manager didExitBeacon:(SWRLBeacon *)beacon

Parameters

manager

The SWRLBeaconManager reporting the event

beacon

The beacon that was exited

Declared In

SWRLBeaconManager.h