---
title: workoutStyle
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/startworkoutintent/workoutstyle-swift.property
---

# workoutStyle

The workout style for the intent.

## Declaration

```swift
var workoutStyle: Self.WorkoutStyle { get set }
```

## Mentioned in

Responding to the Action button on Apple Watch Ultra

## Discussion

Discussion Your implementation’s workoutStyle property must be a type you define that adopts either the AppEnum or AppEntity protocol. Declare this property using the AppIntent.Parameter property wrapper. // Define a parameter that specifies the type of workout that this // intent starts. @Parameter(title: "Start Workout Entity") var workoutStyle: WorkoutEnum For a complete description of implementing a StartWorkoutIntent, see Responding to the Action button on Apple Watch Ultra

## See Also

### Defining supported workouts

- [WorkoutStyle](appintents/startworkoutintent/workoutstyle-swift.associatedtype.md)
- [suggestedWorkouts](appintents/startworkoutintent/suggestedworkouts.md)
- [invalidateSuggestedWorkouts()](appintents/startworkoutintent/invalidatesuggestedworkouts().md)
