<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AudioContext",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents12AudioContextV"
  },
  "title" : "AudioContext"
}
-->

# AudioContext

Specifies the type of audio activity to associate with a suggested entity,
allowing the system to surface relevant suggestions at the right moment.

```
struct AudioContext
```

## Topics

### Structures

[`struct WorkoutIntensityLevel`](/documentation/AppIntents/AudioContext/WorkoutIntensityLevel)

The intensity level of a workout session.

### Type Properties

[`static var nowPlaying: AudioContext`](/documentation/AppIntents/AudioContext/nowPlaying)

The Now Playing control or complication.

[`static var workout: AudioContext`](/documentation/AppIntents/AudioContext/workout)

A workout session of any type.

### Type Methods

[`static func workout(activityType: HKWorkoutActivityType) -> AudioContext`](/documentation/AppIntents/AudioContext/workout(activityType:))

A workout session of the given activity type.

[`static func workout(intensityLevel: AudioContext.WorkoutIntensityLevel) -> AudioContext`](/documentation/AppIntents/AudioContext/workout(intensityLevel:))

A workout session of the given intensity level.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

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)