<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SensorKit",
  "identifier" : "/documentation/SensorKit/SRSensor/photoplethysmogram",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SensorKit"
    ],
    "preciseIdentifier" : "c:@SRSensorPhotoplethysmogram"
  },
  "title" : "photoplethysmogram"
}
-->

# photoplethysmogram

A sensor that streams sample PPG sensor data.

```
static let photoplethysmogram: SRSensor
```

## Discussion

The sample for this sensor is an array of [`SRPhotoplethysmogramSample`](/documentation/SensorKit/SRPhotoplethysmogramSample) objects.

You need to provide a reason to record photoplethysmogram (PPG) data by adding the `SRSensorUsagePPG` dictionary to the <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/NSSensorKitUsageDetail> key in the information property list.

You also need the `ppg` key added to the `com.apple.developer.sensorkit.reader.allow` entitlement, as in:

```plist
<plist version="1.0">
<dict>
        <key>com.apple.developer.sensorkit.reader.allow</key>
        <array>
                <string>ppg</string>
        </array>
</dict>
</plist>
```

---

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)