Global Variable

HKQuantityTypeIdentifierHeadphoneAudioExposure

A quantity sample type that measures audio exposure from headphones.

Declaration

const HKQuantityTypeIdentifier HKQuantityTypeIdentifierHeadphoneAudioExposure;

Discussion

These samples use sound pressure units (described in HKUnit). You create these units using the decibelAWeightedSoundPressureLevelUnit method. They measure discrete values of the equivalent continuous sound pressure level, described in HKQuantityAggregationStyleDiscreteEquivalentContinuousLevel.

See Also

Audio Exposure

HKCategoryTypeIdentifierAudioExposureEvent

A category sample type for audio exposure events.

HKQuantityTypeIdentifierEnvironmentalAudioExposure

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