Global Variable

HKPredicateKeyPathMin

The key path for the sample’s minimum quantity.

Declaration

NSString *const HKPredicateKeyPathMin;

Discussion

Use this constant whenever you want to include a sample’s quantity in a predicate format string. Add a %K placeholder to the format string, and then pass this constant as an argument.

See Also

Predicate Key Paths

HKPredicateKeyPathAverage

The key path for the sample’s average quantity.

HKPredicateKeyPathMax

The key path for the sample’s maximum quantity.

HKPredicateKeyPathMostRecent

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

HKPredicateKeyPathMostRecentStartDate

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

HKPredicateKeyPathMostRecentEndDate

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

HKPredicateKeyPathMostRecentDuration

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