One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKStatisticsCollectionQueryDescriptor.Result

struct · iOS 15.4+ · SDK 27.1

struct Result

Represents a change to a `HKStatisticsCollection`.

Members (2)

get · iOS 15.4+

statisticsCollection

TypeScript
get statisticsCollection(): HKStatisticsCollection
Swift declaration
let statisticsCollection: HKStatisticsCollection

A complete statistics collection containing up-to-date statistics.

get · iOS 15.4+

updatedStatistics

TypeScript
get updatedStatistics(): (Array<HKStatistics>) | null
Swift declaration
let updatedStatistics: [HKStatistics]?

The members of the statistics collection that were updated. This is always nil for the first result. On subsequent results, it will be nil if the members that were updated cannot be identified.

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →