Instance Property

workoutName

The name of the workout.

Declaration

@NSCopying var workoutName: INSpeakableString? { get }

Discussion

If the user requested a specific workout, this property contains the name of that workout. The workout name can be user-specified, a workout name defined in your app’s global vocabulary file, or a custom workout name spoken by the user.

See Also

Specifying Workout Details

var goalValue: Double?

The user-supplied numerical goal of the workout.

var workoutGoalUnitType: INWorkoutGoalUnitType

The units associated with the workout goal.

var isOpenEnded: Bool?

A Boolean value that indicates whether the workout is open ended.