---
title: "workout(intensityLevel:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/audiocontext/workout(intensitylevel:)"
---

# workout(intensityLevel:)

A workout session of the given intensity level.

## Declaration

```swift
static func workout(intensityLevel: AudioContext.WorkoutIntensityLevel) -> AudioContext
```

## Parameters

- `intensityLevel`: The intensity of the workout.
