result(for:)

Returns the user annotated medications given the query descriptor configuration. Returns the empty array if no HKUserAnnotatedMedication objects match.

Declaration

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