Enumeration

HKWorkoutSessionState

A workout session’s state.

Topics

Session States

case notStarted

The workout session has not started.

case running

The workout session is running.

case ended

The workout session has ended.

case paused

The workout session has paused.

See Also

Sessions

Running Workout Sessions

Track the user’s activities on Apple Watch.

class HKWorkoutSession

A workout session tracks the user’s workout on Apple Watch.

protocol HKWorkoutSessionDelegate

The session delegate protocol defines an interface for receiving notifications about errors and changes in the workout session’s state.

class HKWorkoutConfiguration

An object that contains configuration information about a workout session.