ESTTelemetryInfoTemperature

@interface ESTTelemetryInfoTemperature : ESTTelemetryInfo

This class contains data read from telemetry packet from beacon device.

  • Temperature readings from beacon device telemetry packet.

    Declaration

    Objective-C

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

    Swift

    var temperatureInCelsius: NSNumber { get }
  • Designated initializer of this class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTemperature:(nonnull NSNumber *)temperature
                                shortIdentifier:(nonnull NSString *)shortIdentifier;

    Swift

    init(temperature: NSNumber, shortIdentifier: String)

    Parameters

    temperature

    Tempereature readings, read from telemetry packet.

    shortIdentifier

    Short identifier of device that sent telemetry packet.

    Return Value

    Instance of this class.