healbesdk / com.healbe.healbesdk.business_api.healthdata.data.heart / HeartData

HeartData

data class HeartData : SampleData

Sample data with information of pulse during measurement period.

Properties

heartRate

val heartRate: Int

average pulse during measurement period in bpm

timestampEnd

val timestampEnd: Long

End of the sample in UNIX-timestamp.

timestampStart

val timestampStart: Long

Beginning of the sample in UNIX-timestamp.

Extension Functions

getSampleDuration

fun SampleData.getSampleDuration(units: TimeUnit = TimeUnit.SECONDS): Long

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