ESTMonitoringV2ManagerDelegate
Deprecated
Deprecated since 4.31.0.
@protocol ESTMonitoringV2ManagerDelegate <NSObject>
Describes messages sent from Monitoring Manager to its delegate object.
-
Called when monitoring has failed because of invalid configuration, permissions or Bluetooth problems. The error object’s
code
is a case ofESTMonitoringV2ManagerError
enum. The error object’sdomain
isESTMonitoringV2ManagerErrorDomain
.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 monitoring has started successfully.
Declaration
Objective-C
- (void)monitoringManagerDidStart:(nonnull ESTMonitoringV2Manager *)manager;
Swift
optional func monitoringManagerDidStart(_ manager: ESTMonitoringV2Manager)
Parameters
manager
Monitoring manager.
-
Called when a monitoring state for a proximity zone defined by a beacon was first determined.
Declaration
Objective-C
- (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager didDetermineInitialState:(ESTMonitoringState)state forBeaconWithIdentifier:(nonnull NSString *)identifier;
Swift
optional func monitoringManager(_ manager: ESTMonitoringV2Manager, didDetermineInitialState state: ESTMonitoringState, forBeaconWithIdentifier identifier: String)
Parameters
manager
Monitoring manager reporting the event.
state
Monitoring state for the zone.
identifier
Identifier of the beacon defining the zone.
-
Called when user entered proximity defined by
meanTriggerDistance
of the monitored 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 monitored 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.
-
Called when the authorization status for the application related to beacon monitoring has changed.
Declaration
Objective-C
- (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager didChangeAuthorizationStatus:(CLAuthorizationStatus)authorizationStatus;
Swift
optional func monitoringManager(_ manager: ESTMonitoringV2Manager, didChange authorizationStatus: CLAuthorizationStatus)
Parameters
manager
Monitoring manager reporting the event.
authorizationStatus
New authorization status for the application.