Instance Property

device

The device associated with the workout.

Declaration

@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.