---
title: HKMetadataKeyVO2MaxTestType
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeyvo2maxtesttype
---

# HKMetadataKeyVO2MaxTestType

The method used to calculate the user’s VO2 max rate.

## Declaration

```swift
let HKMetadataKeyVO2MaxTestType: String
```

## Discussion

Discussion This key takes an NSNumber object containing a HKVO2MaxTestType value.

## Topics

### Valid Test Types

- [HKVO2MaxTestType](healthkit/hkvo2maxtesttype.md)
