---
title: HKMetadataKeyBarometricPressure
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeybarometricpressure
---

# HKMetadataKeyBarometricPressure

The metadata key for the barometric pressure associated with a sample.

## Declaration

```swift
let HKMetadataKeyBarometricPressure: String
```

## Discussion

Discussion This key takes an HKQuantity value that measures the barometric pressure in units of pressure, such as atmosphere(), pascal(), or millimeterOfMercury().

## See Also

### Weather Keys

- [HKMetadataKeyWeatherCondition](healthkit/hkmetadatakeyweathercondition.md)
- [HKMetadataKeyWeatherHumidity](healthkit/hkmetadatakeyweatherhumidity.md)
- [HKMetadataKeyWeatherTemperature](healthkit/hkmetadatakeyweathertemperature.md)
