---
title: HKAppleECGAlgorithmVersion
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkappleecgalgorithmversion
---

# HKAppleECGAlgorithmVersion

Version numbers for the algorithm Apple Watch uses to generate an ECG reading.

## Declaration

```swift
enum HKAppleECGAlgorithmVersion
```

## Topics

### Versions

- [HKAppleECGAlgorithmVersion.version1](healthkit/hkappleecgalgorithmversion/version1.md)
- [HKAppleECGAlgorithmVersion.version2](healthkit/hkappleecgalgorithmversion/version2.md)

### Initializers

- [init(rawValue:)](healthkit/hkappleecgalgorithmversion/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Specifying Metadata

- [HKMetadataKeyAppleECGAlgorithmVersion](healthkit/hkmetadatakeyappleecgalgorithmversion.md)
