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
codeis a case ofESTMonitoringV2ManagerErrorenum. The error object’sdomainisESTMonitoringV2ManagerErrorDomain.Declaration
Objective-C
- (void)monitoringManager:(nonnull ESTMonitoringV2Manager *)manager didFailWithError:(nonnull NSError *)error;Swift
func monitoringManager(_ manager: ESTMonitoringV2Manager, didFailWithError error: Error)Parameters
managerMonitoring manager reporting the error.
errorError object.
-
Called when monitoring has started successfully.
Declaration
Objective-C
- (void)monitoringManagerDidStart:(nonnull ESTMonitoringV2Manager *)manager;Swift
optional func monitoringManagerDidStart(_ manager: ESTMonitoringV2Manager)Parameters
managerMonitoring 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
managerMonitoring manager reporting the event.
stateMonitoring state for the zone.
identifierIdentifier of the beacon defining the zone.
-
Called when user entered proximity defined by
meanTriggerDistanceof 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
managerMonitoring manager reporting the event.
identifierDevice identifier broadcasted in the Estimote Location packet that triggered the enter event.
-
Called when user exited proximity defined by
meanTriggerDistanceof 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
managerMonitoring manager reporting the event.
identifierDevice 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
managerMonitoring manager reporting the event.
authorizationStatusNew authorization status for the application.
View on GitHub
ESTMonitoringV2ManagerDelegate Protocol Reference