Instance Method

addWorkoutEvents(_:completion:)

Adds a workout event to the builder.

Declaration

func addWorkoutEvents(_ workoutEvents: [HKWorkoutEvent], completion: @escaping (Bool, Error?) -> Void)

See Also

Adding Events to the Workout

var workoutEvents: [HKWorkoutEvent]

The list of events added to the workout.