Instance Property

includeSample

A Boolean value that determines whether the query should return the series sample.

Declaration

var includeSample: Bool { get set }

Discussion

By default, a quantity series sample only returns the individual quantity objects that make up the series—not the HKQuantitySample object that represents the entire series. Set this parameter to true to have the query also return the quantity sample object for the series.

See Also

Creating a Series Query

var orderByQuantitySampleStartDate: Bool

A Boolean value that determines whether the query groups the results based on the quantity sample’s start date.