ESTEddystone

@interface ESTEddystone : NSObject <NSCopying>

Object of this class represents single Eddystone device, with all its available properties. ESTEddystone object should not be created manually. Instances are created by ESTEddystoneManager with discovery process and return in eddystoneManager:didDiscoverEddystones:withFilter: delegate method.

  • MAC address of device advertising Eddystone packets. This property is filled only for eddystone packets broadcasted by proximity beacons (1st generation).

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull macAddress;

    Swift

    var macAddress: String { get set }
  • Bluetooth peripheral identifier.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSUUID *_Nonnull peripheralIdentifier;

    Swift

    var peripheralIdentifier: UUID { get set }
  • Signal strength detected on the phone (-100 to 0))

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nonnull rssi;

    Swift

    var rssi: NSNumber { get set }
  • One sigma horizontal accuracy in meters.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nonnull accuracy;

    Swift

    var accuracy: NSNumber { get set }
  • Proximity zone of the device.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) ESTEddystoneProximity proximity;

    Swift

    var proximity: ESTEddystoneProximity { get set }
  • Last time device was seen.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *_Nonnull discoveryDate;

    Swift

    var discoveryDate: Date { get set }
  • Telemetry information delivered in separate packet packet every 10 seconds.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nonnull measuredPower;

    Swift

    var measuredPower: NSNumber { get set }
  • Internaly used method allows to update ESTEddystone object with another ESTEddystone object.

    Declaration

    Objective-C

    - (void)updateWithEddystone:(nonnull ESTEddystone *)eddystone;

    Swift

    func update(with eddystone: ESTEddystone)

    Parameters

    eddystone

    provided ESTEddystone object.

  • Equality method

    Declaration

    Objective-C

    - (BOOL)isEqualToEddystone:(nonnull ESTEddystone *)eddystone;

    Swift

    func isEqual(to eddystone: ESTEddystone) -> Bool

    Parameters

    eddystone

    Eddystone you want to compare with.

    Return Value

    Bool value indicating equality.