Instance Method

startActivity(with:)

Starts the workout session activity, and sets the start date.

Declaration

func startActivity(with date: Date?)

Parameters

date

The start date for the workout session.

See Also

Managing the Workout

func prepare()

Prepares the workout session.

func pause()

Pauses the workout session.

func resume()

Resumes the workout session.

func stopActivity(with: Date?)

Stops the workout session activity, and sets the end date.

func end()

Ends the workout session.