Instance Property

state

The workout session’s current state.

Declaration

var state: HKWorkoutSessionState { get }

Discussion

For a list of possible session states, see HKWorkoutSessionState.

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 workoutConfiguration: HKWorkoutConfiguration

The configuration object that describes this workout.