healbesdk / com.healbe.healbesdk.business_api.healthdata.data / StepsData

StepsData

data class StepsData : SampleData

Sample data with information of steps count during measured period.

Properties

steps

val steps: Int

steps count

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.