Instance Property

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

var endDate: Date?

The ending time and date for this workout session.

var startDate: Date?

The starting time and date for this workout session.

var state: HKWorkoutSessionState

The workout session’s current state.