HKPredicateKeyPathMostRecentDuration
A key path for the duration of the sample’s most recent quantity.
Declaration
let HKPredicateKeyPathMostRecentDuration: StringDiscussion
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.