The quantity for this sample.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
If the sample contains more than one quantity, this property returns the sum or average, depending on the sample’s aggregation style (sum for cumulative, average for discrete). To access the individual quantities, use an
To see the type of units compatible with this quantity, look up the sample’s quantity type identifier in