---
title: environmentalAudioExposure
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/environmentalaudioexposure
---

# environmentalAudioExposure

A quantity sample type that measures audio exposure to sounds in the environment.

## Declaration

```swift
static let environmentalAudioExposure: HKQuantityTypeIdentifier
```

## Discussion

Discussion These samples use sound pressure units (described in HKUnit). You create these units using the decibelAWeightedSoundPressureLevel() method. They measure discrete values of the equivalent continuous sound pressure level, described in HKQuantityAggregationStyle.discreteEquivalentContinuousLevel. Samples can be automatically collected by an Apple Watch.

## See Also

### Hearing

- [headphoneAudioExposure](healthkit/hkquantitytypeidentifier/headphoneaudioexposure.md)
- [environmentalAudioExposureEvent](healthkit/hkcategorytypeidentifier/environmentalaudioexposureevent.md)
- [headphoneAudioExposureEvent](healthkit/hkcategorytypeidentifier/headphoneaudioexposureevent.md)
- [audioExposureEvent](healthkit/hkcategorytypeidentifier/audioexposureevent.md)
