Enumeration Case

HKQuantityAggregationStyleCumulative

Cumulative samples that can be summed over time.

Declaration

HKQuantityAggregationStyleCumulative = 0

Discussion

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.

See Also

Aggregation Styles

HKQuantityAggregationStyleDiscreteArithmetic

Discrete samples that can be averaged over time using an arithmetic mean.

HKQuantityAggregationStyleDiscreteTemporallyWeighted

Discrete samples that can be averaged over a time interval using a temporally weighted integration function.

HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel

Discrete samples that can be combined over a time interval by computing the equivalent continuous sound level.