---
title: bodyTemperature
framework: healthkit
role: symbol
role_heading: Type Property
path: healthkit/hkquantitytypeidentifier/bodytemperature
---

# bodyTemperature

A quantity sample type that measures the user’s body temperature.

## Declaration

```swift
static let bodyTemperature: HKQuantityTypeIdentifier
```

## Discussion

Discussion These samples use temperature units (described in HKUnit) and measure discrete values (described in HKQuantityAggregationStyle).

## Topics

### Metadata Keys

- [HKMetadataKeyBodyTemperatureSensorLocation](healthkit/hkmetadatakeybodytemperaturesensorlocation.md)

## See Also

### Related Documentation

- [HKQuantityTypeIdentifier](healthkit/hkquantitytypeidentifier.md)
- [HKQuantitySample](healthkit/hkquantitysample.md)
- [HKQuantity](healthkit/hkquantity.md)

### Vital signs

- [heartRate](healthkit/hkquantitytypeidentifier/heartrate.md)
- [lowHeartRateEvent](healthkit/hkcategorytypeidentifier/lowheartrateevent.md)
- [highHeartRateEvent](healthkit/hkcategorytypeidentifier/highheartrateevent.md)
- [irregularHeartRhythmEvent](healthkit/hkcategorytypeidentifier/irregularheartrhythmevent.md)
- [restingHeartRate](healthkit/hkquantitytypeidentifier/restingheartrate.md)
- [heartRateVariabilitySDNN](healthkit/hkquantitytypeidentifier/heartratevariabilitysdnn.md)
- [heartRateRecoveryOneMinute](healthkit/hkquantitytypeidentifier/heartraterecoveryoneminute.md)
- [atrialFibrillationBurden](healthkit/hkquantitytypeidentifier/atrialfibrillationburden.md)
- [walkingHeartRateAverage](healthkit/hkquantitytypeidentifier/walkingheartrateaverage.md)
- [HKDataTypeIdentifierHeartbeatSeries](healthkit/hkdatatypeidentifierheartbeatseries.md)
- [HKElectrocardiogramType](healthkit/hkelectrocardiogramtype.md)
- [oxygenSaturation](healthkit/hkquantitytypeidentifier/oxygensaturation.md)
- [bloodPressure](healthkit/hkcorrelationtypeidentifier/bloodpressure.md)
- [bloodPressureSystolic](healthkit/hkquantitytypeidentifier/bloodpressuresystolic.md)
- [bloodPressureDiastolic](healthkit/hkquantitytypeidentifier/bloodpressurediastolic.md)
