HydrationRecord

@Serializable
@SerialName(value = "hydration")
data class HydrationRecord(val startTime: Instant, val endTime: Instant, val volume: Double) : IntervalRecord

Captures the user's hydration level.

Constructors

Link copied to clipboard
constructor(startTime: Instant, endTime: Instant, volume: Double)

Properties

Link copied to clipboard
open override val dataType: HealthDataType
Link copied to clipboard
open override val endTime: Instant

End time of the record.

Link copied to clipboard
open override val startTime: Instant

Start time of the record.

Link copied to clipboard
open override val typeIdentifier: Int = 11
Link copied to clipboard