Enumeration Case

HKQuantityAggregationStyleDiscreteArithmetic

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

Declaration

HKQuantityAggregationStyleDiscreteArithmetic

Discussion

Use discrete types to monitor changes in a value over time. Body mass, heart rate, temperature, and respiratory rate are all discrete quantity types. You can also query for the minimum or maximum value in a given time period.

See Also

Aggregation Styles

HKQuantityAggregationStyleCumulative

Cumulative samples that can be summed over time.

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.