Types

Link copied to clipboard
data class ActiveCaloriesBurned(val unit: KHUnit.Energy, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.ActiveCaloriesBurned>

Depicts that the app wants to read records of type KHRecord.ActiveCaloriesBurned from the health store.

Link copied to clipboard
data class BasalMetabolicRate(val unit: KHUnit.Energy, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BasalMetabolicRate>

Depicts that the app wants to read records of type KHRecord.BasalMetabolicRate from the health store.

Link copied to clipboard
data class BloodGlucose(val unit: KHUnit.BloodGlucose, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BloodGlucose>

Depicts that the app wants to read records of type KHRecord.BloodGlucose from the health store.

Link copied to clipboard
data class BloodPressure(val unit: KHUnit.Pressure, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BloodPressure>

Depicts that the app wants to read records of type KHRecord.BloodPressure from the health store.

Link copied to clipboard
data class BodyFat(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BodyFat>

Depicts that the app wants to read records of type KHRecord.BodyFat from the health store.

Link copied to clipboard
data class BodyTemperature(val unit: KHUnit.Temperature, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BodyTemperature>

Depicts that the app wants to read records of type KHRecord.BodyTemperature from the health store.

Link copied to clipboard
data class BodyWaterMass(val unit: KHUnit.Mass, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BodyWaterMass>

Depicts that the app wants to read records of type KHRecord.BodyWaterMass from the health store.

Link copied to clipboard
data class BoneMass(val unit: KHUnit.Mass, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.BoneMass>

Depicts that the app wants to read records of type KHRecord.BoneMass from the health store.

Link copied to clipboard
data class CervicalMucus(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.CervicalMucus>

Depicts that the app wants to read records of type KHRecord.CervicalMucus from the health store.

Link copied to clipboard

Depicts that the app wants to read records of type KHRecord.CyclingPedalingCadence from the health store.

Link copied to clipboard
data class CyclingSpeed(val unit: KHUnit.Velocity, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.CyclingSpeed>

Depicts that the app wants to read records of type KHRecord.CyclingSpeed from the health store.

Link copied to clipboard
data class Distance(val unit: KHUnit.Length, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Distance>

Depicts that the app wants to read records of type KHRecord.Distance from the health store.

Link copied to clipboard
data class ElevationGained(val unit: KHUnit.Length, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.ElevationGained>

Depicts that the app wants to read records of type KHRecord.ElevationGained from the health store.

Link copied to clipboard
data class Exercise(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Exercise>

Depicts that the app wants to read records of type KHRecord.Exercise from the health store.

Link copied to clipboard
data class FloorsClimbed(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.FloorsClimbed>

Depicts that the app wants to read records of type KHRecord.FloorsClimbed from the health store.

Link copied to clipboard
data class HeartRate(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.HeartRate>

Depicts that the app wants to read records of type KHRecord.HeartRate from the health store.

Link copied to clipboard

Depicts that the app wants to read records of type KHRecord.HeartRateVariability from the health store.

Link copied to clipboard
data class Height(val unit: KHUnit.Length, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Height>

Depicts that the app wants to read records of type KHRecord.Height from the health store.

Link copied to clipboard
data class Hydration(val unit: KHUnit.Volume, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Hydration>

Depicts that the app wants to read records of type KHRecord.Hydration from the health store.

Link copied to clipboard

Depicts that the app wants to read records of type KHRecord.IntermenstrualBleeding from the health store.

Link copied to clipboard
data class LeanBodyMass(val unit: KHUnit.Mass, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.LeanBodyMass>

Depicts that the app wants to read records of type KHRecord.LeanBodyMass from the health store.

Link copied to clipboard
data class MenstruationFlow(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.MenstruationFlow>

Depicts that the app wants to read records of type KHRecord.MenstruationFlow from the health store.

Link copied to clipboard
data class MenstruationPeriod(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.MenstruationPeriod>

Depicts that the app wants to read records of type KHRecord.MenstruationPeriod from the health store.

Link copied to clipboard
data class Nutrition(val solidUnit: KHUnit.Mass = KHUnit.Mass.Gram, val energyUnit: KHUnit.Energy = KHUnit.Energy.KiloCalorie, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Nutrition>
Link copied to clipboard
data class OvulationTest(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.OvulationTest>

Depicts that the app wants to read records of type KHRecord.OvulationTest from the health store.

Link copied to clipboard
data class OxygenSaturation(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.OxygenSaturation>

Depicts that the app wants to read records of type KHRecord.OxygenSaturation from the health store.

Link copied to clipboard
data class Power(val unit: KHUnit.Power, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Power>

Depicts that the app wants to read records of type KHRecord.Power from the health store.

Link copied to clipboard
data class RespiratoryRate(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.RespiratoryRate>

Depicts that the app wants to read records of type KHRecord.RespiratoryRate from the health store.

Link copied to clipboard
data class RestingHeartRate(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.RestingHeartRate>

Depicts that the app wants to read records of type KHRecord.RestingHeartRate from the health store.

Link copied to clipboard
data class RunningSpeed(val unit: KHUnit.Velocity, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.RunningSpeed>

Depicts that the app wants to read records of type KHRecord.RunningSpeed from the health store.

Link copied to clipboard
data class SexualActivity(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.SexualActivity>

Depicts that the app wants to read records of type KHRecord.SexualActivity from the health store.

Link copied to clipboard
data class SleepSession(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.SleepSession>

Depicts that the app wants to read records of type KHRecord.SleepSession from the health store.

Link copied to clipboard
data class Speed(val unit: KHUnit.Velocity, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Speed>

Depicts that the app wants to read records of type KHRecord.Speed from the health store.

Link copied to clipboard
data class StepCount(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.StepCount>

Depicts that the app wants to read records of type KHRecord.StepCount from the health store.

Link copied to clipboard
data class Vo2Max(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Vo2Max>

Depicts that the app wants to read records of type KHRecord.Vo2Max from the health store.

Link copied to clipboard
data class Weight(val unit: KHUnit.Mass, val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.Weight>

Depicts that the app wants to read records of type KHRecord.Weight from the health store.

Link copied to clipboard
data class WheelChairPushes(val startTime: Instant, val endTime: Instant) : KHReadRequest<KHRecord.WheelChairPushes>

Depicts that the app wants to read records of type KHRecord.WheelChairPushes from the health store.