Package-level declarations

Types

Link copied to clipboard
@Serializable
data class StepsRecord(val startTime: Instant, val endTime: Instant, val count: Int) : IntervalRecord

Captures the number of steps taken since the last reading. Each step is only reported once so records shouldn't have overlapping time. The start time of each record should represent the start of the interval in which steps were taken.

Link copied to clipboard
data class WeightRecord(val time: Instant, val weight: Mass) : InstantaneousRecord

Captures the user's weight.