BKBeaconSensorData

open class BKBeaconSensorData: NSObject, NSSecureCoding

Read only data object for sensor data that is emitted by blukii beacons

BeaconSensor values are part of BKDiscoveryData

Seealso

BKDiscoveryData
  • The value of the air pressure sensor. (Read-Only)

    If the beacon does not emit air pressure the default value is Int16.min

    Declaration

    Swift

    internal(set) open var airPressure = Int16.min

    Return Value

    Air pressure in hP

  • The value of the light sensor. (Read-Only)

    If the beacon does not emit light the default value is Int16.min

    Declaration

    Swift

    internal(set) open var light = Int16.min

    Return Value

    Light in Lux

  • The value of the humidity sensor. (Read-Only)

    If the beacon does not emit humidity the default value is Int16.min

    Declaration

    Swift

    internal(set) open var humidity = Int16.min

    Return Value

    Humidity in percent (%)

  • The value of the temperature sensor. (Read-Only)

    If the beacon does not emit temperature the default value is Float()

    Declaration

    Swift

    internal(set) open var temperature = Float()

    Return Value

    Temperature in degrees Celsius (°C)

  • The 3D axis Valuee of the acceleration sensor.

    Note: If the scan duration longer than one advertising interval duration the maximum value of each axis is returned

    Declaration

    Swift

    internal(set) open var acceleration: BKAxisData?

    Return Value

    AxisData values of acceleration

  • The 3D axis values of magnetism sensor.

    Note: If the scan duration is longer than one advertising interval duration the maximum value of each axis is returned

    Declaration

    Swift

    internal(set) open var magnetism: BKAxisData?

    Return Value

    AxisData values of magnetism