HeartRateMeasurement

data class HeartRateMeasurement(val heartRate: Int, val sensorContactDetected: Boolean?, val energyExpended: Int?, val rrIntervals: List<Int>)

Parsed Heart Rate Measurement (0x2A37) notification payload.

Constructors

Link copied to clipboard
constructor(heartRate: Int, sensorContactDetected: Boolean?, energyExpended: Int?, rrIntervals: List<Int>)

Properties

Link copied to clipboard

Cumulative energy in kilojoules, or null if not present.

Link copied to clipboard

Heart rate in beats per minute.

Link copied to clipboard

R-R intervals converted from the raw 1/1024-second resolution to milliseconds.

Link copied to clipboard

true if skin contact detected, false if not, null if unsupported.