Instance Property

mostRecentQuantity

The most recent quantity contained by the sample.

Declaration

@property(readonly, copy) HKQuantity *mostRecentQuantity;

Discussion

The sample sorts its contained quantities based on the startDate property for the quantity’s date interval.

See Also

Accessing Calculated Values

averageQuantity

The average of all quantities contained by the sample.

maximumQuantity

The maximum quantity contained by the sample.

minimumQuantity

The minimum value contained by the sample.

mostRecentQuantityDateInterval

The date interval for the most recent quantity contained by the sample.