KHPowerSample

data class KHPowerSample(val unit: KHUnit.Power, val value: Double, val time: Instant)

Represents a single measurement of power. For example, using a power meter when exercising on a stationary bike.

Parameters

unit

The measurement scale of this record

time

The point in time when the measurement was taken

value

Power generated, in Power unit (Valid range: 0-100000 Watts)

Constructors

Link copied to clipboard
constructor(unit: KHUnit.Power, value: Double, time: Instant)

Properties

Link copied to clipboard
val time: Instant
Link copied to clipboard
Link copied to clipboard