ESTMonitoringV2ManagerDelegate

@protocol ESTMonitoringV2ManagerDelegate <NSObject>

Describes messages sent from Monitoring Manager to its delegate object.

  • Monitoring failed because of configuration, permissions or Bluetooth problems. The error object’s code is a case of ESTMonitoringV2ManagerError enum. The error object’s domain is ESTMonitoringV2ManagerErrorDomain.

    Declaration

    Objective-C

    - (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager
             didFailWithError:(nonnull NSError *)error;

    Swift

    func monitoringManager(_ manager: ESTMonitoringV2Manager, didFailWithError error: Error)

    Parameters

    manager

    Monitoring manager reporting the error.

    error

    Error object.

  • Called when user entered proximity defined by meanTriggerDistance of the monitoring device.

    Declaration

    Objective-C

    - (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager
        didEnterDesiredRangeOfBeaconWithIdentifier:(nonnull NSString *)identifier;

    Swift

    optional func monitoringManager(_ manager: ESTMonitoringV2Manager, didEnterDesiredRangeOfBeaconWithIdentifier identifier: String)

    Parameters

    manager

    Monitoring manager reporting the event

    identifier

    Device identifier broadcasted in the Estimote Location packet that triggered the enter event.

  • Called when user exited proximity defined by meanTriggerDistance of the monitoring device.

    Declaration

    Objective-C

    - (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager
        didExitDesiredRangeOfBeaconWithIdentifier:(nonnull NSString *)identifier;

    Swift

    optional func monitoringManager(_ manager: ESTMonitoringV2Manager, didExitDesiredRangeOfBeaconWithIdentifier identifier: String)

    Parameters

    manager

    Monitoring manager reporting the event

    identifier

    Device identifier broadcasted in the Estimote Location packet that triggered the enter event.