-
Notifications
You must be signed in to change notification settings - Fork 569
SensorKit macOS xcode27.0 b1
Alex Soto edited this page Jun 9, 2026
·
1 revision
#SensorKit.framework
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h 2026-04-19 00:42:52
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h 2026-05-21 11:34:37
@@ -26,6 +26,7 @@
Float32 y;
} SRAmbientLightChromaticity API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRAmbientLightSample : NSObject
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h 2026-05-21 11:34:37
@@ -27,7 +27,8 @@
SRDeletionReasonSystemInitiated,
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRDeletionRecord : NSObject <NSSecureCoding>
@property (readonly) SRAbsoluteTime startTime;
@property (readonly) SRAbsoluteTime endTime;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h 2026-05-21 11:34:37
@@ -10,6 +10,7 @@
NS_ASSUME_NONNULL_BEGIN
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
@interface SRDevice : NSObject <NSSecureCoding, NSCopying>
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h 2026-05-21 11:34:37
@@ -7,6 +7,7 @@
#import <SensorKit/SRAbsoluteTime.h>
#import <Foundation/Foundation.h>
+#import <SensorKit/SRSourceDevice.h>
NS_ASSUME_NONNULL_BEGIN
@@ -24,6 +25,15 @@
* @brief the timestamp the sample was written to the data store
*/
@property (readonly, assign) SRAbsoluteTime timestamp;
+
+/**
+ * @brief the source of the sample data
+ *
+ * @discussion Represents the peripheral supplying data. Useful for distinguishing
+ * multiple source peripherals using a common device. Is nullable
+ * when no source information is available when providing sample data.
+ */
+@property (readonly, nonatomic, nullable, strong) SRSourceDevice *sourceDevice API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRHeadphoneSettings.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRHeadphoneSettings.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRHeadphoneSettings.h 1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRHeadphoneSettings.h 2026-05-21 11:34:38
@@ -0,0 +1,153 @@
+//
+// SRHeadphoneSettings.h
+// SensorKit
+//
+// Copyright © 2025 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+typedef NS_ENUM(NSInteger, SRHeadphoneSettingsSettingEnablement) {
+ SRHeadphoneSettingsSettingEnablementUnsupported = 0,
+ SRHeadphoneSettingsSettingEnablementEnabled,
+ SRHeadphoneSettingsSettingEnablementDisabled
+} API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
+
+typedef NS_ENUM(NSInteger, SRHeadphoneSettingsListeningMode) {
+ SRHeadphoneSettingsListeningModeNormal = 1,
+ SRHeadphoneSettingsListeningModeActiveNoiseCancelling,
+ SRHeadphoneSettingsListeningModeTransparency,
+ SRHeadphoneSettingsListeningModeAutoActiveNoiseCancelling
+} API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
+
+typedef NS_ENUM(uint32_t, SRHeadphoneSettingsAdaptiveAudioStrength) {
+ SRHeadphoneSettingsAdaptiveAudioStrengthLow = 1,
+ SRHeadphoneSettingsAdaptiveAudioStrengthMedium,
+ SRHeadphoneSettingsAdaptiveAudioStrengthHigh
+} API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
+@interface SRHeadphoneSettingsHearingAssistance: NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ * @property hearingAidEnabled
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement hearingAidEnabled;
+
+/*!
+ * @property mediaAssistEnabled
+ *
+ * @brief Setting to enable adjustments to media that improve the clarity of music, video, and calls when hearing aid is active.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement mediaAssistEnabled;
+
+/*!
+ * @property adjustMediaEnabled
+ *
+ * @brief Setting to enable audio adjustments to music and video playing on device.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement adjustMediaEnabled;
+
+/*!
+ * @property adjustVoiceEnabled
+ *
+ * @brief Setting to enable audio adjustments to phone calls.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement adjustVoiceEnabled;
+
+/*!
+ * @property hearingProtectionEnabled
+ *
+ * @brief Actively reduce your exposure to loud environmental sounds in Transparency and Adaptive modes.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement hearingProtectionEnabled;
+
+/*!
+ * @property conversationBoostEnabled
+ *
+ * @brief In noisy environments, automatically focuses source on the person speaking to you.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement conversationBoostEnabled;
+
+/*!
+ * @property hearingAidAmplification
+ */
+@property (nonatomic, assign, readonly) double hearingAidAmplification;
+
+/*!
+ * @property hearingAidBalance
+ */
+@property (nonatomic, assign, readonly) double hearingAidBalance;
+
+/*!
+ * @property hearingAidTone
+ */
+@property (nonatomic, assign, readonly) double hearingAidTone;
+
+/*!
+ * @property ambientNoiseReduction
+ */
+@property (nonatomic, assign, readonly) double ambientNoiseReduction;
+@end
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
+@interface SRHeadphoneSettings: NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ * @property adaptiveAudioStrength
+ *
+ * @brief Adaptive Audio dynamically responds to your environment and cancels or allows
+ * external noise.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsAdaptiveAudioStrength adaptiveAudioStrength;
+
+/*!
+ * @property listeningMode
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsListeningMode listeningMode;
+
+/*!
+ * @property personalizedVolumeEnabled
+ *
+ * @brief Media volume adjusts in response to your environment.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement personalizedVolumeEnabled;
+
+/*!
+ * @property conversationAwarenessEnabled
+ *
+ * @brief Media volume lowers and reduces background noise when you start speaking to other people.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement conversationAwarenessEnabled;
+
+/*!
+ * @property spatialAudioEnabled
+ *
+ * @brief Hear audio rendered immersively in three dimensions.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement spatialAudioEnabled;
+
+/*!
+ * @property personalizedSpatialAudioEnabled
+ *
+ * @brief Improved audio rendering when used with supported AirPods or Beats headphones.
+ */
+@property (nonatomic, assign, readonly) SRHeadphoneSettingsSettingEnablement personalizedSpatialAudioEnabled;
+
+/*!
+ * @property hearingAssistance
+ *
+ * @brief Hearing Assistance Settings
+ */
+@property (nonatomic, strong, readonly, nullable) SRHeadphoneSettingsHearingAssistance *hearingAssistance;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h 2026-04-19 00:03:57
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h 2026-05-21 11:34:37
@@ -10,6 +10,7 @@
NS_ASSUME_NONNULL_BEGIN
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRKeyboardMetrics : NSObject
@@ -98,6 +99,7 @@
@end
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRKeyboardProbabilityMetric <UnitType : __kindof NSUnit *> : NSObject
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h 2026-04-19 00:03:57
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h 2026-05-21 11:34:37
@@ -17,7 +17,13 @@
NS_ASSUME_NONNULL_BEGIN
@class SRSensorReader;
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+
+SR_EXTERN
+#ifdef __swift__
+API_DEPRECATED("Use SRReader<Sensor> class", ios(13.0, 27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+#else
+API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+#endif
@protocol SRSensorReaderDelegate <NSObject>
@optional
@@ -85,7 +91,12 @@
@end
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+SR_EXTERN
+#ifdef __swift__
+API_DEPRECATED("Use SRReader<Sensor> class", ios(13.0, 27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+#else
+API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+#endif
@interface SRSensorReader : NSObject
/**
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h 2026-05-21 11:34:37
@@ -9,7 +9,11 @@
NS_ASSUME_NONNULL_BEGIN
+#ifdef __swift__
+API_DEPRECATED("Use deletionRecords(matching request: SRFetchRequest) of SRReader<Sensor> class", ios(14.0, 27.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
+#else
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
+#endif
@interface NSString (SRDeletionRecord)
/**
* @brief Returns a sensor stream that contains deletion records of the sensor
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h 2026-05-21 11:34:37
@@ -355,4 +355,34 @@
*/
SR_EXTERN SRSensor const SRSensorSleepSessions API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+/*!
+ * @const SRSensorHeadphoneMotion
+ *
+ * @brief
+ * Sensor stream for headphone motion collection
+ *
+ * @discussion
+ * This stream stores samples about headphone motion including:
+ * @textblock
+ * - acceleration measured by the device's accelerometer
+ * - rotation rate measured by the device's gyroscope
+ * - altitude
+ * @/textblock
+ *
+ * Fetches from this stream return objects of type \c NSArray<CMRecordedDeviceMotion *> * as defined in the CoreMotion framework
+ */
+SR_EXTERN SRSensor const SRSensorHeadphoneMotion API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+
+/*!
+ * @const SRSensorHeadphoneSettings
+ *
+ * @brief
+ * Sensor stream for headphone settings
+ *
+ * @discussion
+ * This stream stores samples about headphone settings. Fetches from this stream return objects of
+ * type \c SRHeadphoneSettings
+ */
+SR_EXTERN SRSensor const SRSensorHeadphoneSettings API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSourceDevice.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSourceDevice.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSourceDevice.h 1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSourceDevice.h 2026-05-21 11:34:37
@@ -0,0 +1,58 @@
+//
+// SRSourceDevice.h
+// SensorKit
+//
+// Copyright © 2025 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos)
+@interface SRSourceDevice : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ * @property localIdentifier
+ *
+ * @brief A unique identifier for the data source. This property is available to clients for
+ * a local identifier. The local identifier distinguishes different peripheral
+ * sources used by a common device.
+ */
+@property (nonatomic, readonly, copy) NSString *localIdentifier;
+
+/*!
+ * @property manufacturer
+ *
+ * @brief A nil value means a manufacter was not provided.
+ */
+@property (nonatomic, readonly, copy, nullable) NSString *manufacturer;
+
+/*!
+ * @property model
+ *
+ * @brief Model of the source. A nil value means a model name was not provided.
+ */
+@property (nonatomic, readonly, copy, nullable) NSString *model;
+
+/*!
+ * @property hardwareVersion
+ *
+ * @brief Hardware version of the source. A nil value means a hardware version was not provided.
+ */
+@property (nonatomic, readonly, copy, nullable) NSString *hardwareVersion;
+
+/*!
+ * @property firmwareVersion
+ *
+ * @brief Firmware version of the source. A nil value means a firmware version was not provided.
+ */
+@property (nonatomic, readonly, copy, nullable) NSString *firmwareVersion;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+@end
+
+NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h 2026-04-19 00:03:40
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h 2026-05-21 11:34:37
@@ -14,6 +14,7 @@
@class SRNotificationUsage;
@class SRWebUsage;
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRDeviceUsageReport : NSObject
@@ -59,6 +60,7 @@
SRTextInputSessionTypeDictation,
} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRTextInputSession : NSObject
@@ -74,6 +76,7 @@
@property (readonly, copy) NSString *sessionIdentifier API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
@end
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRApplicationUsage : NSObject
@@ -147,6 +150,7 @@
SRNotificationEventDeviceUnlocked,
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRNotificationUsage : NSObject
@@ -157,11 +161,13 @@
@end
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRWebUsage : NSObject
@property (readonly) NSTimeInterval totalUsageTime;
@end
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRMessagesUsageReport : NSObject
@@ -172,6 +178,7 @@
@end
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRPhoneUsageReport : NSObject
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h 2026-05-21 11:34:37
@@ -19,6 +19,7 @@
SRLocationCategoryGym,
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRVisit : NSObject
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h 2026-04-19 00:42:53
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h 2026-05-21 11:34:37
@@ -20,6 +20,7 @@
SRCrownOrientationRight,
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, visionos) API_UNAVAILABLE(tvos);
+NS_SWIFT_SENDABLE
SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos)
@interface SRWristDetection : NSObject
@property(readonly) BOOL onWrist;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h 2026-04-19 00:42:52
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h 2026-05-21 11:34:36
@@ -35,3 +35,5 @@
#import <SensorKit/SRPhotoplethysmogramSample.h>
#import <SensorKit/SRAcousticSettings.h>
#import <SensorKit/SRSleepSession.h>
+#import <SensorKit/SRSourceDevice.h>
+#import <SensorKit/SRHeadphoneSettings.h>