Instance Property


The device associated with the workout.


@NSCopying var device: HKDevice? { get }

See Also

Creating the Builder

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

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

var workoutConfiguration: HKWorkoutConfiguration

The configuration information for the workout.