Instance Property

workoutGoalUnitType

The units associated with the workout goal.

Declaration

@property(readonly, assign, nonatomic) INWorkoutGoalUnitType workoutGoalUnitType;

Discussion

If the user specified a goal, this property contains the units for measuring that goal. The units reflect a distance, a time, or a unit of energy. You get the goal’s numerical value from the goalValue property.

See Also

Specifying Workout Details

workoutName

The name of the workout.

goalValue

The numerical goal of the workout.

workoutLocationType

The location of the workout.

isOpenEnded

A Boolean value indicating whether the workout is open ended.