Enumeration Case

HKWorkoutSessionStateEnded

The workout session has ended.

Declaration

HKWorkoutSessionStateEnded

Discussion

The watch can no longer run in the background. Its sensors return to normal, and it no longer generates workout data. You can’t restart or reuse the workout session.

See Also

Session States

HKWorkoutSessionStateNotStarted

The workout session has not started.

HKWorkoutSessionStatePrepared

The session is ready but not yet running.

HKWorkoutSessionStateRunning

The workout session is running.

HKWorkoutSessionStatePaused

The workout session has paused.

HKWorkoutSessionStateStopped

The session has stopped.