Contents

add(_:completion:)

Adds a sample to be associated with the workout.

Declaration

func add(_ samples: [HKSample], completion: @escaping  @Sendable (Bool, (any Error)?) -> Void)
func addSamples(_ samples: [HKSample]) async throws

Mentioned in

See Also

Associating samples with the workout