Contents

result(for:)

Runs a one-shot query that asynchronously returns a snapshot of all the sources that saved matching data.

Declaration

func result(for healthStore: HKHealthStore) async throws -> [HKSource]

Parameters

  • healthStore:

    The access point for HealthKit data.