BLUSensorData Class Reference

Inherits from NSObject
Declared in BLUSensorData.h
BLUSensorData.m

Overview

BLUSensorData objects are used to represent the data of the BlueBeacon sensor slot.

  temperature

The temperature measured from the beacon.

@property (nullable, nonatomic, readonly) NSNumber *temperature

Declared In

BLUSensorData.h

  humidity

The humidity measured from the beacon.

@property (nullable, nonatomic, readonly) NSNumber *humidity

Declared In

BLUSensorData.h

  pressure

The pressure measured from the beacon.

@property (nullable, nonatomic, readonly) NSNumber *pressure

Declared In

BLUSensorData.h

– initWithTemperature:humidity:pressure:

Initializes the sensor slot with specified values for temperature, humidity and pressure (those values could be nil if unknown).

- (nonnull instancetype)initWithTemperature:(nullable NSNumber *)temperature humidity:(nullable NSNumber *)humidity pressure:(nullable NSNumber *)pressure

Parameters

temperature

A temperature value for the sensor slot.

humidity

A humidity value for the sensor slot.

pressure

A pressure value for the sensor slot.

Return Value

Returns a newly initialized sensor slot data object.

Declared In

BLUSensorData.h