Instance Method

mostRecentQuantityDateIntervalForSource:

Returns the date interval of the most recent sample that matches the query and was created by the specified source.

Declaration

- (NSDateInterval *)mostRecentQuantityDateIntervalForSource:(HKSource *)source;

See Also

Getting the Most Recent Quantity

- mostRecentQuantity

Returns the most recent value from all the samples that match the query.

- mostRecentQuantityForSource:

Returns the most recent value from all the samples that match the query and were created by the specified source.

- mostRecentQuantityDateInterval

Returns the date interval of the most recent sample that matches the query.