BLUBeaconDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | BLUBeacon.h |
Overview
The delegate of a BLUBeacon object must adopt the BLUBeaconDelegate protocol. The delegate uses this protocol’s methods to monitor the discovery, exploration, and interaction of a remote beacon’s informations and configurations. There are no required methods in this protocol.
– bluBeacon:didReadConfiguration:error:
Invoked when you retrieve the configuration of the beacon.
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didReadConfiguration:(nullable BLUBeaconConfiguration *)configuration error:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
configuration |
The configuration whose value has been retrieved. |
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didReadDeviceInformations:error:
Invoked when you retrieve the beacon informations.
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didReadDeviceInformations:(nullable BLUBeaconDeviceInfo *)deviceInfo error:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
deviceInfo |
The device informations whose values has been retrieved. |
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didReadBatteryLevel:error:
Invoked when you retrieve the beacon battery level.
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didReadBatteryLevel:(nullable NSNumber *)batteryLevel error:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
batteryLevel |
The battery level value retrieved. |
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didReset:
Invoked when a factory reset is performed on the beacon
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didReset:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didWriteConfiguration:error:
Invoked when you write a new configuration on the beacon.
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didWriteConfiguration:(nullable BLUBeaconConfiguration *)configuration error:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
configuration |
The configuration whose value has been written. |
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didChangePassword:
Invoked when you change the password of the beacon.
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didChangePassword:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h
– bluBeacon:didDisablePassword:
Invoked when you disable the beacon password
- (void)bluBeacon:(nonnull BLUBeacon *)beacon didDisablePassword:(nullable NSError *)error
Parameters
beacon |
The beacon providing this information. |
---|---|
error |
If an error occurred, the cause of the failure. |
Declared In
BLUBeacon.h