<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKVO2MaxTestType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@E@HKVO2MaxTestType"
  },
  "title" : "HKVO2MaxTestType"
}
-->

# HKVO2MaxTestType

Methods for calculating the user’s VO2 max rate.

```
enum HKVO2MaxTestType
```

## Overview

VO2 max represents the maximal oxygen consumption during incremental exercise. VO2 max is an important indicator of fitness and endurance.

## Topics

### Test Types

[`case maxExercise`](/documentation/HealthKit/HKVO2MaxTestType/maxExercise)

A test that measures VO2 max rate by monitoring exercise to the user’s physical limit.

[`case predictionSubMaxExercise`](/documentation/HealthKit/HKVO2MaxTestType/predictionSubMaxExercise)

A calculation that estimates VO2 max rate based on low-intensity exercise.

[`case predictionNonExercise`](/documentation/HealthKit/HKVO2MaxTestType/predictionNonExercise)

A calculation that estimates VO2 max rate without any exercise.

### Enumeration Cases

[`case predictionStepTest`](/documentation/HealthKit/HKVO2MaxTestType/predictionStepTest)

### Initializers

[`init?(rawValue: Int)`](/documentation/HealthKit/HKVO2MaxTestType/init(rawValue:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)