Conforms to NSObject
Declared in SBKBeaconManager.h

Overview

The SBKBeaconManagerDelegate protocol defines the methods used to receive beacon updates from a SBKBeaconManager object.

Instance Methods

beaconManager:beaconDidGone:

Tells the delegate that a beacon has been out of range.

- (void)beaconManager:(SBKBeaconManager *)beaconManager beaconDidGone:(SBKBeacon *)beacon

Parameters

beaconManager

The beacon manager object reporting the event.

beacon

The beacon instance just be out of range.

Discussion

Tells the delegate that a beacon has been out of range.

Declared In

SBKBeaconManager.h

beaconManager:didChangeAuthorizationStatus:

Tells the delegate that the authorization status for the application changed.

- (void)beaconManager:(SBKBeaconManager *)beaconManager didChangeAuthorizationStatus:(CLAuthorizationStatus)status

Parameters

beaconManager

The beacon manager object reporting the event.

status

The new authorization status for the application.

Discussion

Tells the delegate that the authorization status for the application changed.

This method is called whenever the application’s ability to use location services changes. Changes can occur because the user allowed or denied the use of location services for your application or for the system as a whole.

Declared In

SBKBeaconManager.h

beaconManager:didDetermineState:forRegion:

It is same with locationManager:didDetermineState:forRegion: of CLLocationManagerDelegate Tells the delegate about the state of the specified region.

- (void)beaconManager:(SBKBeaconManager *)beaconManager didDetermineState:(SBKRegionState)state forRegion:(SBKBeaconID *)region

Parameters

beaconManager

The beacon manager object reporting the event.

state

The state of the specified region. For a list of possible values, see the SBKRegionState type.

region

The region whose state was determined.

Discussion

It is same with locationManager:didDetermineState:forRegion: of CLLocationManagerDelegate Tells the delegate about the state of the specified region.

see locationManager:didDetermineState:forRegion: of CLLocationManagerDelegate, When a app waked up by a region, The system will call SDK, SDK will call this delegate method.

Declared In

SBKBeaconManager.h

beaconManager:didRangeBeacons:inRegion:

Tells the delegate that if one or more beacons are in range. those beacons include sensoro’s beacons.

- (void)beaconManager:(SBKBeaconManager *)beaconManager didRangeBeacons:(NSArray *)beacons inRegion:(SBKBeaconID *)region

Parameters

beaconManager

The beacon manager object reporting the event.

beacons

An array of CLBeacon objects representing the beacons currently in range. You can use the information in these objects to determine the range of each beacon and its identifying information.

region

The region beacons belong to.

Discussion

Tells the delegate that if one or more beacons are in range. those beacons include sensoro’s beacons.

you can use beaconWithCLBeacon: of SBKBeaconManager to know whether this beacon is a sensoro beacon. because of ble scan delay, it is possible that a beacon is not sensoro beacon at first, after a little time, it become a sensoro beacon.

Declared In

SBKBeaconManager.h

beaconManager:didRangeNewBeacon:

Tells the delegate that ranged a new beacon.

- (void)beaconManager:(SBKBeaconManager *)beaconManager didRangeNewBeacon:(SBKBeacon *)beacon

Parameters

beaconManager

The beacon manager object reporting the event.

beacon

The beacon instance just be ranged.

Discussion

Tells the delegate that ranged a new beacon.

Declared In

SBKBeaconManager.h

beaconManager:scanDidFinishWithBeacons:

Tells the delegate that if one or more beacons are in range. This method will be called approximate every one second, even there is not beacon around.

- (void)beaconManager:(SBKBeaconManager *)beaconManager scanDidFinishWithBeacons:(NSArray *)beacons

Parameters

beaconManager

The beacon manager object reporting the event.

beacons

An array of SBKBeacon objects representing the beacons currently in range. You can use the information in these objects to determine the range of each beacon and its identifying information.

Discussion

Tells the delegate that if one or more beacons are in range. This method will be called approximate every one second, even there is not beacon around.

Declared In

SBKBeaconManager.h