BeaconsInSpaceDelegate Protocol Reference

Conforms to NSObject
Declared in BeaconsInSpace.h

Overview

The delegate of a BeaconsInSpace object must adopt the BeaconsInSpaceDelegate protocol. The methods in this protocol allow the delegate to respond to various actions taken by the beaconManager

– apiKeyDidRegisterWithSuccess:error:

Called when the API Key provided in the class method provideAPIKey: has finished authenticating.

- (void)apiKeyDidRegisterWithSuccess:(BOOL)success error:(NSError *__nullable)error

Parameters

success

Will equal YES if authentication was successful, otherwise NO

error

Will be nil when success is equal to YES, otherwise will contain an NSError describing why authentication failed

Declared In

BeaconsInSpace.h

– didBeginBISVisit:

Notifies user when a region is entered. Returns information about the entered region. This method is triggered when proximity is less than or equal to enterRegionProximityTrigger

- (void)didBeginBISVisit:(BISVisit *)visit

Parameters

visit

Represents a visit to a region

Declared In

BeaconsInSpace.h

– didCompleteBISVisit:

Notifies user when a region is exited. Returns information about that region as well as the duration of the visit. This will only be called if didBeginBISVisit: is also implemented by the delegate.

- (void)didCompleteBISVisit:(BISVisit *)visit

Parameters

visit

Represents a visit to a region

Declared In

BeaconsInSpace.h