A builder object that constructs a workout incrementally based on live data from an active workout session.
SDK
- watchOS 5.0+
Framework
- Health
Kit
Declaration
class HKLiveWorkoutBuilder : HKWorkout Builder
Overview
Use a live workout builder to create an HKWorkout
sample during an active HKWorkout
. For complete instructions on running workout sessions on Apple Watch, see Running Workout Sessions.