---
title: foregroundHeartRate
framework: sensorkit
role: symbol
role_heading: Type Property
path: sensorkit/srphotoplethysmogramsample/usage-swift.struct/foregroundheartrate
---

# foregroundHeartRate

A heart rate reading that a person takes while using an app.

## Declaration

```swift
static let foregroundHeartRate: SRPhotoplethysmogramSample.Usage
```

## Discussion

Discussion An example is a sample of a heart rate reading from a person using the Heart Rate or a workout app.

## See Also

### Getting the reading method

- [deepBreathing](sensorkit/srphotoplethysmogramsample/usage-swift.struct/deepbreathing.md)
- [foregroundBloodOxygen](sensorkit/srphotoplethysmogramsample/usage-swift.struct/foregroundbloodoxygen.md)
- [backgroundSystem](sensorkit/srphotoplethysmogramsample/usage-swift.struct/backgroundsystem.md)
