HealthKit Constants

Overview

This document defines constants in the HealthKit framework that are not associated with a particular class.

Topics

Constants

HKPredicateKeyPathAverage

The key path for the sample’s average quantity.

Beta
HKPredicateKeyPathMax

The key path for the sample’s maximum quantity.

Beta
HKPredicateKeyPathMin

The key path for the sample’s minimum quantity.

Beta
HKPredicateKeyPathMostRecent

The key path for the sample’s most recent quantity.

Beta
HKPredicateKeyPathMostRecentDuration

A key path for the duration of the sample’s most recent quantity.

Beta
HKPredicateKeyPathMostRecentEndDate

The key path for the end date of the sample’s most recent quantity.

Beta
HKPredicateKeyPathMostRecentStartDate

The key path for the start date of the sample’s most recent quantity.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software