MRTriggerManagerDelegate Protocol Reference

Conforms to NSObject
Declared in MRTriggerManager.h

Overview

Protocol an object must adopt to receive callbacks from MRTriggerManager

– manager:subscriptionTriggered:beacons: required method

Called when a Meridian proximity beacon (or multiple beacons) is detected matching an active MRTriggerSubscription

- (void)manager:(MRTriggerManager *)manager subscriptionTriggered:(NSString *)subscriptionName beacons:(NSArray<MRBeacon*> *)beacons

Parameters

manager

MRTriggerManager instance that detected the beacons

subscriptionName

name of the subscription that was triggered matching the given beacons

beacons

Meridian proximity beacons detected during the most recent CLLocation ranging that match the given subscription. (Their rssi values will be non-zero)

Declared In

MRTriggerManager.h

– manager:error: required method

Called if the MRTriggerManager encounters an error. Some errors may result in the inability to continue scanning. Check the MRTriggerManager running variable to see if it is still scanning.

- (void)manager:(MRTriggerManager *)manager error:(NSError *)error

Parameters

manager

MRTriggerManager instance that encountered the error

error

Error that was encountered

Declared In

MRTriggerManager.h