result(for:)
Runs a one-shot query and asynchronously returns statistics calculated from the current matching results.
Declaration
func result(for healthStore: HKHealthStore) async throws -> HKStatisticsCollectionParameters
- healthStore:
The access point for HealthKit data.