ElevationGained

data class ElevationGained(val unit: KHUnit.Length, val value: Double, val startTime: Instant, val endTime: Instant) : KHRecord

Captures the elevation gained by the user since the last reading.

Note - This record is available on Android only. It will be ignored on Apple.

Parameters

unit

Measurement scale of this record

value

The value of this record

startTime

The start instant of the interval over which the value this record was captured

endTime

The end instant of the interval over which the value this record was captured

Constructors

Link copied to clipboard
constructor(unit: KHUnit.Length, value: Double, startTime: Instant, endTime: Instant)

Properties

Link copied to clipboard
val endTime: Instant
Link copied to clipboard
val startTime: Instant
Link copied to clipboard
Link copied to clipboard