ESTBeaconConnectionDelegate
Deprecated
Deprecated since 4.31.0.
@protocol ESTBeaconConnectionDelegate <NSObject>
The ESTBeaconConnectionDelegate protocol defines the delegate methods used to receive updates about <ESTBeaconConnection> connection status, as well as sensor related updates once a connection to the beacon has been established.
-
Tells the delegate that Estimote Cloud verified device for authorized user.
Declaration
Objective-C
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection didVerifyWithData:(ESTBeaconVO *_Nullable)data error:(NSError *_Nullable)error;Swift
optional func beaconConnection(_ connection: ESTBeaconConnection, didVerifyWithData data: ESTBeaconVO?, error: Error?)Parameters
connectionThe beacon connection object reporting the event.
dataInformation about the device stored in the Estimote Cloud.
errorAn error object containing the error code that indicates why connection failed.
-
Tells the delegate that an attempt to connect to a beacon succeeded and the connection has been established.
Declaration
Objective-C
- (void)beaconConnectionDidSucceed:(nonnull ESTBeaconConnection *)connection;Swift
optional func beaconConnectionDidSucceed(_ connection: ESTBeaconConnection)Parameters
connectionThe beacon connection object reporting the event.
-
Tells the delegate that an attempt to connect to a beacon has failed.
Declaration
Objective-C
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection didFailWithError:(nonnull NSError *)error;Swift
optional func beaconConnection(_ connection: ESTBeaconConnection, didFailWithError error: Error)Parameters
connectionThe beacon connection object reporting the event.
errorAn error object containing the error code that indicates why connection failed.
-
Tells the delegate that a previously connected beacon has disconnected.
Declaration
Objective-C
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection didDisconnectWithError:(NSError *_Nullable)error;Swift
optional func beaconConnection(_ connection: ESTBeaconConnection, didDisconnectWithError error: Error?)Parameters
connectionThe beacon connection object reporting the event.
errorAn error object containing the error code that indicates why the beacon disconnected.
-
Tells the delegate that a beacon’s
<[ESTBeaconConnection motionState]>value has changed.Declaration
Objective-C
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection motionStateChanged:(ESTBeaconMotionState)state;Swift
optional func beaconConnection(_ connection: ESTBeaconConnection, motionStateChanged state: ESTBeaconMotionState)Parameters
connectionThe beacon connection object reporting the event.
stateThe new
motionStatevalue. -
Tells the delegate that a beacon’s RSSI value was updated.
Declaration
Objective-C
- (void)beaconConnection:(nonnull ESTBeaconConnection *)connection didUpdateRSSI:(nonnull NSNumber *)rssi;Swift
optional func beaconConnection(_ connection: ESTBeaconConnection, didUpdateRSSI rssi: NSNumber)Parameters
connectionThe beacon connection object reporting the event.
rssiThe new rssi value.
View on GitHub
ESTBeaconConnectionDelegate Protocol Reference