ESTMeshNearablesScanResultVO

@interface ESTMeshNearablesScanResultVO : NSObject

ESTMeshNearablesScanResultVO represents single sticker discovery recored delivered in mesh scan report.

  • Identifier of discovered device.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *deviceIdentifier;

    Swift

    var deviceIdentifier: String! { get }
  • RSSI (Strength of the signal) of discovered device.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *rssi;

    Swift

    var rssi: NSNumber! { get }
  • Measured Power (Strength of the signal from 1m) of discovered device. Default value is -45 dBm.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *measuredPower;

    Swift

    var measuredPower: NSNumber! { get }
  • Distance calculated from the RSSI and measured power.

    Declaration

    Objective-C

    @property (readonly, getter=getDistance, strong, nonatomic) NSNumber *distance;

    Swift

    var distance: NSNumber! { get }
  • Designated initializer parsing provided data to properties.

    Declaration

    Objective-C

    - (instancetype)initWithData:(NSData *)data;

    Swift

    init!(data: Data!)

    Parameters

    data

    Data of single result.

    Return Value

    Initialized result object.

  • Initializer of class taking actual values of properties.

    Declaration

    Objective-C

    - (instancetype)initWithIdentifier:(NSString *)deviceIdentifier
                                  rssi:(NSNumber *)rssi;

    Swift

    init!(identifier deviceIdentifier: String!, rssi: NSNumber!)

    Parameters

    deviceIdentifier

    Identifier of discovered device.

    rssi

    Strength of the signal of discovered device.

    Return Value

    Initialized object