<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/StartWorkoutIntent/workoutStyle-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents18StartWorkoutIntentP12workoutStyle0dG0Qzvp"
  },
  "title" : "workoutStyle"
}
-->

# workoutStyle

The workout style for the intent.

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

## Discussion

Your implementation’s `workoutStyle` property must be a type you define that
adopts either the [`AppEnum`](/documentation/AppIntents/AppEnum) or [`AppEntity`](/documentation/AppIntents/AppEntity) protocol.
Declare this property using the [`AppIntent.Parameter`](/documentation/AppIntents/AppIntent/Parameter) property
wrapper.

```swift
// 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`](/documentation/AppIntents/StartWorkoutIntent),
see [Responding to the Action button on Apple Watch Ultra](/documentation/AppIntents/ActionButtonArticle)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)