Contents

objects

The set of sample objects that make up the correlation.

Declaration

var objects: Set<HKSample> { get }

Discussion

This property contains the quantity and category samples that are grouped into this correlation. Blood pressure correlations always include two quantity samples that represent the systolic and diastolic values. In contrast, food correlations can contain a wide range of dietary information about the food, including information about the fat, protein, carbohydrates, energy, and vitamins consumed.

See Also

Getting Correlation Data