Instance Property

aggregationStyle

The aggregation style for the given quantity type.

Declaration

var aggregationStyle: HKQuantityAggregationStyle { get }

Discussion

For more information on aggregation styles, see HKQuantityAggregationStyle.

See Also

Accessing Quantity Type Data

enum HKQuantityAggregationStyle

Constant values that describe how quantities can be aggregated over time.

func `is`(compatibleWith: HKUnit) -> Bool

Returns a Boolean value that indicates whether the quantity type is compatible with the given unit.