KHSleepStageSample

data class KHSleepStageSample(val stage: KHSleepStage, val startTime: Instant, val endTime: Instant)

Represents a single measurement of KHRecord.SleepSession.

Parameters

stage

Describes the distinct phases of sleep (like REM, Deep, Light, etc.)

startTime

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

endTime

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

Constructors

Link copied to clipboard
constructor(stage: KHSleepStage, startTime: Instant, endTime: Instant)

Properties

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