SensorKit updates
Learn about important changes to SensorKit.
Overview
Browse notable changes in SensorKit.
March 2024
Sensors
Use the electrocardiogram property to collect electrocardiogram (ECG) data samples, and the pedometerData class to get the data.
Use the photoplethysmogram property to collect photoplethysmogram (PPG) data samples, and the SRPhotoplethysmogramOpticalSample and SRPhotoplethysmogramSample classes to get the data.
June 2023
Sensors
Use the faceMetrics property to analyze a person’s facial expressions, and the SRFaceMetrics class to get the data.
Use the heartRate property to collect a person’s heart rate from devices, and the CMHighFrequencyHeartRateData class to get the data.
Use the odometer property to analyze movements during workouts, and the CMOdometerData class to get the data.
Use the siriSpeechMetrics property to collect data about a person’s voice — such as tenor, pitch, and cadence — and the SRSpeechMetrics class to get the data. People who previously authorized speech metric data collection need to reauthorize before data collection can continue.
Use the wristTemperature property to collect sequential wrist temperatures while a person is sleeping, and the SRWristTemperature class to get the data.
Configuration
To opt out of collecting data for user activity from sensors in your app, set the SRResearchDataGeneration key to
NO.
See Also
Technology and frameworks
Accelerate updatesAccessibility updatesActivityKit updatesAdAttributionKit UpdatesApp Clips updatesApp Intents updatesAppKit updatesApple Intelligence updatesAppleMapsServerAPI UpdatesApple Pencil updatesARKit updatesAudio Toolbox updatesAuthenticationServices updatesAVFAudio updatesAVFoundation updates