PolarTemperatureApi

public protocol PolarTemperatureApi

Polar temperature API.

Requires

Requires SDK feature(s): PolarBleSdkFeature.feature_polar_temperature_data
  • Get skin temperature for a given period.

    Requires

    Requires SDK feature(s): PolarBleSdkFeature.feature_polar_temperature_data

    Declaration

    Swift

    func getSkinTemperature(identifier: String, fromDate: Date, toDate: Date) -> Single<[PolarSkinTemperatureData.PolarSkinTemperatureResult]>

    Parameters

    identifier

    The Polar device ID or BT address.

    fromDate

    The starting date of the period to retrieve skin temperature from.

    toDate

    The ending date of the period to retrieve skin temperature from.

    Return Value

    A Single emitting an array of PolarSkinTemperatureResult representing the skin temperature data for the specified period.