Instance Property

totalDistance

The total distance traveled during the workout.

Declaration

@property(readonly, strong) HKQuantity *totalDistance;

Discussion

This property contains a quantity using length units, or nil.

See Also

Getting Property Data

duration

The workout’s duration.

totalEnergyBurned

The total active energy burned during the workout.

workoutActivityType

The type of activity performed 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.