Contents

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 -> HKStatisticsCollection

Parameters

  • healthStore:

    The access point for HealthKit data.

See Also

Running Queries