Contents

sources

An array containing all the sources contributing to these statistics.

Declaration

var sources: [HKSource]? { get }

Discussion

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

See Also

Getting Property Data