Instance Property


The aggregation style for the given quantity type.


var aggregationStyle: HKQuantityAggregationStyle { get }


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.