StepsData

data class StepsData : SampleData

Sample data with information of steps count during measured period.

Properties

Link copied to clipboard
val steps: Int

steps count

Link copied to clipboard
open override val timestampEnd: Long

End of the sample in UNIX-timestamp.

Link copied to clipboard
open override val timestampStart: Long

Beginning of the sample in UNIX-timestamp.

Extensions

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

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