<!--
{
  "documentType" : "article",
  "framework" : "Updates",
  "identifier" : "/documentation/Updates/SensorKit",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "SensorKit updates"
}
-->

# SensorKit updates

Learn about important changes to SensorKit.

## Overview

Browse notable changes in <doc://com.apple.documentation/documentation/SensorKit>.

## March 2024

### Sensors

- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/electrocardiogram> property to collect electrocardiogram (ECG) data samples, and the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/pedometerData> class to get the data.
- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/photoplethysmogram> property to collect photoplethysmogram (PPG) data samples, and the <doc://com.apple.documentation/documentation/SensorKit/SRPhotoplethysmogramOpticalSample> and <doc://com.apple.documentation/documentation/SensorKit/SRPhotoplethysmogramSample> classes to get the data.

## June 2023

### Sensors

- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/faceMetrics> property to analyze a person’s facial expressions, and the <doc://com.apple.documentation/documentation/SensorKit/SRFaceMetrics> class to get the data.
- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/heartRate> property to collect a person’s heart rate from devices, and the <doc://com.apple.documentation/documentation/CoreMotion/CMHighFrequencyHeartRateData> class to get the data.
- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/odometer> property to analyze movements during workouts, and the <doc://com.apple.documentation/documentation/CoreMotion/CMOdometerData> class to get the data.
- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/siriSpeechMetrics> property to collect data about a person’s voice — such as tenor, pitch, and cadence — and the <doc://com.apple.documentation/documentation/SensorKit/SRSpeechMetrics> class to get the data. People who previously authorized speech metric data collection need to reauthorize before data collection can continue.
- Use the <doc://com.apple.documentation/documentation/SensorKit/SRSensor/wristTemperature> property to collect sequential wrist temperatures while a person is sleeping, and the <doc://com.apple.documentation/documentation/SensorKit/SRWristTemperature> class to get the data.

### Configuration

- To opt out of collecting data for user activity from sensors in your app, set the <doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/SRResearchDataGeneration> key to `NO`.

---

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)