Instance Property

sources

An array containing all the sources contributing to these statistics.

Declaration

@property(readonly, strong) NSArray<HKSource *> *sources;

Discussion

If the HKStatisticsOptionSeparateBySource option was specified, this property holds an array of all the sources included in the calculations. If the HKStatisticsOptionSeparateBySource option was not specified, the property contains nil.

See Also

Getting Property Data

startDate

The start of the time period included in these statistics.

endDate

The end of the time period included in these statistics.

quantityType

The quantity type of the samples used to calculate these statistics.