HKQuantityAggregationStyle.cumulative
Cumulative samples that can be summed over time.
Declaration
case cumulativeDiscussion
Use cumulative types to measure a total value over a given time period. Step count, distance, inhaler usage, nutritional information, and energy burned are all cumulative quantity types.