Global Variable

HKQuantityTypeIdentifierWalkingHeartRateAverage

A quantity sample type that measures the user’s heart rate while walking.

Declaration

const HKQuantityTypeIdentifier HKQuantityTypeIdentifierWalkingHeartRateAverage;

Discussion

These samples use count/time units (described in HKUnit) and measure discrete values (described in HKStatisticsQuery).

A user's average heart rate while walking is correlated to their fitness level, because it corresponds to their heart's efficiency while physically active. Apple Watch estimates the walking heart rate by averaging heart rate samples taken while the user is walking, as well as heart rate samples taken during walking workout sessions.

Because walking heart rate estimates become more accurate as the day progresses, the system may delete earlier samples and replace them with better estimates. Apple Watch replaces only the samples written by the watch for the current or previous day.

See Also

Vital Signs

HKQuantityTypeIdentifierHeartRate

A quantity sample type that measures the user’s heart rate.

HKCategoryTypeIdentifierLowHeartRateEvent

A category sample type for low heart rate events.

HKCategoryTypeIdentifierHighHeartRateEvent

A category sample type for high heart rate events.

HKCategoryTypeIdentifierIrregularHeartRhythmEvent

A category sample type for irregular heart rhythm events.

HKQuantityTypeIdentifierRestingHeartRate

A quantity sample type that measures the user’s resting heart rate.

HKQuantityTypeIdentifierHeartRateVariabilitySDNN

A quantity sample type that measures the standard deviation of heartbeat intervals.

HKDataTypeIdentifierHeartbeatSeries

A series sample containing heartbeat data.

HKQuantityTypeIdentifierOxygenSaturation

A quantity sample type that measures the user’s oxygen saturation.

HKQuantityTypeIdentifierBodyTemperature

A quantity sample type that measures the user’s body temperature.

HKCorrelationTypeIdentifierBloodPressure

Blood pressure correlation types combine a systolic sample and a diastolic sample into a single blood pressure reading.

HKQuantityTypeIdentifierBloodPressureSystolic

A quantity sample type that measures the user’s systolic blood pressure.

HKQuantityTypeIdentifierBloodPressureDiastolic

A quantity sample type that measures the user’s diastolic blood pressure.

HKQuantityTypeIdentifierRespiratoryRate

A quantity sample type that measures the user’s respiratory rate.

HKQuantityTypeIdentifierVO2Max

A quantity sample that measures the maximal oxygen consumption during incremental exercise.