Initializer

init(healthStore:configuration:device:)

Returns a new workout builder object that is not connected to a workout session or other data source.

Declaration

init(healthStore: HKHealthStore, configuration: HKWorkoutConfiguration, device: HKDevice?)

See Also

Creating the Builder

var device: HKDevice?

The device associated with the workout.

var workoutConfiguration: HKWorkoutConfiguration

The configuration information for the workout.