Instance Property

workoutActivityType

The type of activity performed during the workout.

Declaration

@property(readonly, assign) HKWorkoutActivityType workoutActivityType;

Discussion

For the complete list of activity types, see HKWorkoutActivityType.

See Also

Getting Property Data

duration

The workout’s duration.

totalDistance

The total distance traveled during the workout.

totalEnergyBurned

The total active energy burned during the workout.

workoutEvents

An array of workout event objects.

totalFlightsClimbed

The total number of flights of stairs climbed during the workout.

totalSwimmingStrokeCount

The total stroke count for the workout.