Contents

allStatistics

A dictionary that contains all the statistics for the workout.

Declaration

var allStatistics: [HKQuantityType : HKStatistics] { get }

Discussion

HealthKit calculates an HKStatistics object for each HKQuantityType, based on the HKQuantitySample objects associated with the containing workout.

See Also

Accessing workout data