Hydration

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

Captures how much water a user drank in a single drink.

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.Volume, 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