---
title: HKMetadataKeyHeartRateRecoveryTestType
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeyheartraterecoverytesttype
---

# HKMetadataKeyHeartRateRecoveryTestType

The type of test that the source used to calculate a person’s heart-rate recovery.

## Declaration

```swift
let HKMetadataKeyHeartRateRecoveryTestType: String
```

## Discussion

Discussion Use this metadata key to identify the type of test that the HKSource used to calculate the value for a heartRateRecoveryOneMinute sample.

## Topics

### Heart rate recovery tests

- [HKHeartRateRecoveryTestType](healthkit/hkheartraterecoverytesttype.md)

## See Also

### Vitals Sensors Keys

- [HKMetadataKeyBodyTemperatureSensorLocation](healthkit/hkmetadatakeybodytemperaturesensorlocation.md)
- [HKMetadataKeyHeartRateSensorLocation](healthkit/hkmetadatakeyheartratesensorlocation.md)
- [HKMetadataKeyHeartRateMotionContext](healthkit/hkmetadatakeyheartratemotioncontext.md)
- [HKPredicateKeyPathAverageHeartRate](healthkit/hkpredicatekeypathaverageheartrate.md)
- [HKMetadataKeyHeartRateRecoveryActivityDuration](healthkit/hkmetadatakeyheartraterecoveryactivityduration.md)
- [HKMetadataKeyHeartRateRecoveryActivityType](healthkit/hkmetadatakeyheartraterecoveryactivitytype.md)
- [HKMetadataKeyHeartRateRecoveryMaxObservedRecoveryHeartRate](healthkit/hkmetadatakeyheartraterecoverymaxobservedrecoveryheartrate.md)
- [HKMetadataKeyVO2MaxTestType](healthkit/hkmetadatakeyvo2maxtesttype.md)
