---
title: SRPhotoplethysmogramSample.Usage
framework: sensorkit
role: symbol
role_heading: Structure
path: sensorkit/srphotoplethysmogramsample/usage-swift.struct
---

# SRPhotoplethysmogramSample.Usage

The possible ways that a person or the system may take a photoplethysmogram (PPG) reading.

## Declaration

```swift
struct Usage
```

## Topics

### Getting the reading method

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

### Initializing usage

- [init(rawValue:)](sensorkit/srphotoplethysmogramsample/usage-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

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

## See Also

### Accessing PPG data

- [startDate](sensorkit/srphotoplethysmogramsample/startdate.md)
- [nanosecondsSinceStart](sensorkit/srphotoplethysmogramsample/nanosecondssincestart.md)
- [usage](sensorkit/srphotoplethysmogramsample/usage-swift.property.md)
- [opticalSamples](sensorkit/srphotoplethysmogramsample/opticalsamples.md)
- [SRPhotoplethysmogramOpticalSample](sensorkit/srphotoplethysmogramopticalsample.md)
- [accelerometerSamples](sensorkit/srphotoplethysmogramsample/accelerometersamples.md)
- [SRPhotoplethysmogramAccelerometerSample](sensorkit/srphotoplethysmogramaccelerometersample.md)
- [temperature](sensorkit/srphotoplethysmogramsample/temperature.md)
