Contents

workoutConfiguration

The configuration object that describes this workout.

Declaration

@NSCopying var workoutConfiguration: HKWorkoutConfiguration { get }

Discussion

Returns a copy of the configuration object passed to init(configuration:) when instantiating the workout session. Changes made to the returned value have no affect on the workout session.

See Also

Accessing session data