<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AudioContext/WorkoutIntensityLevel/init(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "App Intents",
      "HealthKit"
    ],
    "preciseIdentifier" : "s:10AppIntents12AudioContextV01_aB10_HealthKitE21WorkoutIntensityLevelVyAFSo21HKWorkoutActivityTypeVcfc"
  },
  "title" : "init(_:)"
}
-->

# init(_:)

Creates an intensity level from an `HKWorkoutActivityType`.

```
init(_ workoutActivityType: HKWorkoutActivityType)
```

---

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)