<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKQuantityTypeIdentifier/headphoneAudioExposure",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKQuantityTypeIdentifierHeadphoneAudioExposure"
  },
  "title" : "headphoneAudioExposure"
}
-->

# headphoneAudioExposure

A quantity sample type that measures audio exposure from headphones.

```
static let headphoneAudioExposure: HKQuantityTypeIdentifier
```

## Discussion

These samples use sound pressure units (described in [`HKUnit`](/documentation/HealthKit/HKUnit)). You create these units using the [`decibelAWeightedSoundPressureLevel()`](/documentation/HealthKit/HKUnit/decibelAWeightedSoundPressureLevel()) method. They measure discrete values of the equivalent continuous sound pressure level, described in [`HKQuantityAggregationStyle.discreteEquivalentContinuousLevel`](/documentation/HealthKit/HKQuantityAggregationStyle/discreteEquivalentContinuousLevel). Samples can be automatically detected by an iPhone or Apple Watch.

---

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)