Contents

result(for:)

Runs a one-shot query and asynchronously returns a snapshot of the current matching results.

Declaration

func result(for healthStore: HKHealthStore) async throws -> HKAnchoredObjectQueryDescriptor<Sample>.Result

Parameters

  • healthStore:

    The access point for HealthKit data.

See Also

Running Queries