Instance Property

startDate

The starting time and date for this workout session.

Declaration

var startDate: Date? { get }

Discussion

This property is set to nil when the workout session is initialized. The system assigns a start date when the session’s state changes to HKWorkoutSessionState.running.

See Also

Accessing Session Data

var endDate: Date?

The ending time and date for this workout session.

var state: HKWorkoutSessionState

The workout session’s current state.

var workoutConfiguration: HKWorkoutConfiguration

The configuration object that describes this workout.