<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMHighFrequencyHeartRateData",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:objc(cs)CMHighFrequencyHeartRateData"
  },
  "title" : "CMHighFrequencyHeartRateData"
}
-->

# CMHighFrequencyHeartRateData

A class that represents heart rate data collected at 1 Hz.

```
class CMHighFrequencyHeartRateData
```

## Overview

Use the [`heartRate`](/documentation/CoreMotion/CMHighFrequencyHeartRateData/heartRate) property to get the data, and the [`confidence`](/documentation/CoreMotion/CMHighFrequencyHeartRateData/confidence) property for the accuracy.

## Topics

### Accessing heart rate data

[`var heartRate: Double`](/documentation/CoreMotion/CMHighFrequencyHeartRateData/heartRate)

The heart rate value in units of beats per minute (BPM).

[`var confidence: CMHighFrequencyHeartRateDataConfidence`](/documentation/CoreMotion/CMHighFrequencyHeartRateData/confidence)

The confidence level of the heart rate value.

[`enum CMHighFrequencyHeartRateDataConfidence`](/documentation/CoreMotion/CMHighFrequencyHeartRateDataConfidence)

The level of confidence in the accuracy of the heart rate data.

### Getting the sample date

[`var date: Date?`](/documentation/CoreMotion/CMHighFrequencyHeartRateData/date)

The time the heart rate value occurs.

## Relationships

### Conforms To

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

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

### Inherits From

[`CMLogItem`](/documentation/CoreMotion/CMLogItem)

---

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)