Edit

Share via


HKQuantityAggregationStyle Enum

Definition

Enumerates whether an HKQuantityType is a cumulative measure (for instance, "active energy burned") or a discrete value (such as "blood alcohol content").

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum HKQuantityAggregationStyle
type HKQuantityAggregationStyle = 
Inheritance
HKQuantityAggregationStyle
Attributes

Fields

Name Value Description
Cumulative 0

The data are cumulative.

Discrete 1

The data is a single value.

Applies to