HeartData

Sample data with information of pulse during measurement period.

Properties

Link copied to clipboard
open override val heartRate: Int

average pulse during measurement period in bpm

Link copied to clipboard

maximum pulse during measurement period in bpm

Link copied to clipboard

minimum pulse during measurement period in bpm

Link copied to clipboard
open override val relevanceDurationInSeconds: Long

Duration over which a valid heart rate

Link copied to clipboard
open override val timestamp: Long

UNIX-timestamp of measurement

Link copied to clipboard
open override val timestampEnd: Timestamp

End of the sample in UNIX-timestamp.

Link copied to clipboard
open override val timestampStart: Timestamp

Beginning of the sample in UNIX-timestamp.

Inherited properties

Link copied to clipboard
open val isValid: Boolean

Returns true if current heart rate is valid and false if it obsolete.

Extensions

Link copied to clipboard
fun SampleData.getSampleDuration(units: TimeUnit = TimeUnit.SECONDS): Long

Returns sample duration in specified units. Default units: TimeUnit.SECONDS.