ESTDeviceLocationBeacon

@interface ESTDeviceLocationBeacon : ESTDeviceConnectable

ESTDeviceLocationBeacon represents Next Generation beacon device. It allows to to establish connection to the device and change its settings.

Object of this class is returned as a result of ESTUtilityManager scanning. It is not intended to be initialized manually.

  • Object allows to access and interact with device settings.

    Object expose convenience API where you can access and change individual settings of the device (e.g.. [device.settings.ibeacon.major getValue]). You can also register for settings change notifications (e.g. motion state) provided during connection using registerForNotification: method.

    Advanced API allows to define group of settings read/write operations that should be performed on the device and then perform them using performOperation: kind of methods.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable)
        ESTBeaconSettingsManager *settings;

    Swift

    var settings: ESTBeaconSettingsManager? { get }
  • Object enables access to device’s non-volatile data storage.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) ESTStorageManager *storage;

    Swift

    var storage: ESTStorageManager? { get set }
  • Manager responsible for reading scan reports from the device.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        ESTMeshScanReportsManager *scanReports;

    Swift

    var scanReports: ESTMeshScanReportsManager? { get set }
  • Flag indicating if device is broadcasting in Shake to Connect mode.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *_Nonnull isShaken;

    Swift

    var isShaken: NSNumber { get }
  • Method enabling connecting with device to read from Estimote Storage. Uses same callbacks as connect method.

    See

    ESTStorageManager to learn how to read from Estimote Storage.

    Declaration

    Objective-C

    - (void)connectForStorageRead;

    Swift

    func connectForStorageRead()
  • Method allows to initialize object.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDeviceIdentifier:(nonnull NSString *)identifier
                                peripheralIdentifier:
                                    (nonnull NSUUID *)peripheralIdentifier
                                                rssi:(NSInteger)rssi
                                       discoveryDate:(nonnull NSDate *)discoveryDate
                                            isShaken:(nonnull NSNumber *)isShaken;

    Swift

    init(deviceIdentifier identifier: String, peripheralIdentifier: UUID, rssi: Int, discoveryDate: Date, isShaken: NSNumber)

    Parameters

    identifier

    device identifier

    peripheralIdentifier

    CBPeripheral object’s identifier

    rssi

    CBPeripheral object’s RSSI

    discoveryDate

    date of discovery

    isShaken

    flag indicating if Shake to Connect mode is on

    Return Value

    Initialized object.