Skip to content

SensorKit macOS xcode15.0 b1

Haritha Mohan edited this page Sep 26, 2023 · 3 revisions

#SensorKit.framework https://github.com/xamarin/xamarin-macios/pull/19105

diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/NSDate+SensorKit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/NSDate+SensorKit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/NSDate+SensorKit.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/NSDate+SensorKit.h	2023-05-19 23:20:57
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface NSDate (SensorKit)
 
 + (instancetype)dateWithSRAbsoluteTime:(SRAbsoluteTime)time;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAbsoluteTime.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAbsoluteTime.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAbsoluteTime.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAbsoluteTime.h	2023-05-19 23:20:56
@@ -12,14 +12,14 @@
 #import <SensorKit/SRDefines.h>
 
 typedef CFTimeInterval SRAbsoluteTime
-API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /**
  * @brief Get the current SRAbsoluteTime for this device.
  *
  * This timestamp ticks across sleeps and reboots.
  */
-SR_EXTERN SRAbsoluteTime SRAbsoluteTimeGetCurrent(void) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRAbsoluteTime SRAbsoluteTimeGetCurrent(void) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /**
  * @brief Convert a mach_continuous_time to an SRAbsoluteTime.
@@ -30,7 +30,7 @@
  * The return value for mach_continuous_times spanning boot sessions or devices
  * is undefined.
  */
-SR_EXTERN SRAbsoluteTime SRAbsoluteTimeFromContinuousTime(uint64_t cont) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRAbsoluteTime SRAbsoluteTimeFromContinuousTime(uint64_t cont) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /**
  * @brief Convert a SRAbsoluteTime to a CFAbsoluteTime.
@@ -39,7 +39,7 @@
  * wall clock. This means that if the system time is 5 seconds fast against UTC,
  * the result will be 5 seconds fast to when the event happened relative to UTC.
  */
-SR_EXTERN CFAbsoluteTime SRAbsoluteTimeToCFAbsoluteTime(SRAbsoluteTime sr) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN CFAbsoluteTime SRAbsoluteTimeToCFAbsoluteTime(SRAbsoluteTime sr) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /**
  * @brief Convert a CFAbsoluteTime to an SRAbsoluteTime.
@@ -48,6 +48,6 @@
  * wall clock. This means that if the system time is 5 seconds fast against UTC,
  * the result will be 5 seconds fast to when the event happened relative to UTC.
  */
-SR_EXTERN SRAbsoluteTime SRAbsoluteTimeFromCFAbsoluteTime(CFAbsoluteTime cf) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRAbsoluteTime SRAbsoluteTimeFromCFAbsoluteTime(CFAbsoluteTime cf) API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 #endif /* SRAbsoluteTime_h */
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAmbientLightSample.h	2023-05-19 23:20:56
@@ -19,14 +19,14 @@
     SRAmbientLightSensorPlacementFrontTopLeft,
     SRAmbientLightSensorPlacementFrontBottomRight,
     SRAmbientLightSensorPlacementFrontBottomLeft,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 typedef struct {
     Float32 x;
     Float32 y;
-} SRAmbientLightChromaticity API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} SRAmbientLightChromaticity API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRAmbientLightSample : NSObject
 
 @property (readonly) SRAmbientLightSensorPlacement placement;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAuthorization.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAuthorization.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAuthorization.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRAuthorization.h	2023-05-19 23:20:56
@@ -17,4 +17,4 @@
     /// User has denied authorization to this application or
     /// data collection is disabled in Settings.
     SRAuthorizationStatusDenied,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeletionRecord.h	2023-05-19 23:20:56
@@ -25,9 +25,9 @@
 
     /// Samples were removed because the system was in an invalid state
     SRDeletionReasonSystemInitiated,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos) 
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos) 
 @interface SRDeletionRecord : NSObject <NSSecureCoding>
 @property (readonly) SRAbsoluteTime startTime;
 @property (readonly) SRAbsoluteTime endTime;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDevice.h	2023-05-19 23:20:56
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos)
 @interface SRDevice : NSObject <NSSecureCoding, NSCopying>
 
 @property (class, readonly) SRDevice *currentDevice;
@@ -19,6 +19,7 @@
 @property (readonly, copy) NSString *model;             // e.g. @"iPhone"
 @property (readonly, copy) NSString *systemName;        // e.g. @"iOS"
 @property (readonly, copy) NSString *systemVersion;     // e.g. @"4.0"
+@property (readonly, copy) NSString *productType API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);       // e.g. @"Watch3,4"
 
 @end
 
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeviceUsageCategories.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeviceUsageCategories.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeviceUsageCategories.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRDeviceUsageCategories.h	2023-05-19 22:49:45
@@ -12,35 +12,35 @@
 
 typedef NSString *SRDeviceUsageCategoryKey NS_TYPED_ENUM;
 
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryGames API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryBusiness API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryWeather API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryUtilities API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryTravel API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategorySports API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategorySocialNetworking API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryReference API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryProductivity API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryPhotoAndVideo API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNews API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNavigation API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMusic API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryLifestyle API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryHealthAndFitness API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryFinance API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryEntertainment API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryEducation API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryBooks API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMedical API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNewsstand API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryCatalogs API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryKids API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMiscellaneous API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryFoodAndDrink API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryDeveloperTools API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryGraphicsAndDesign API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryShopping API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
-SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryStickers API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryGames API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryBusiness API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryWeather API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryUtilities API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryTravel API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategorySports API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategorySocialNetworking API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryReference API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryProductivity API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryPhotoAndVideo API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNews API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNavigation API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMusic API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryLifestyle API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryHealthAndFitness API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryFinance API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryEntertainment API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryEducation API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryBooks API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMedical API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryNewsstand API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryCatalogs API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryKids API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryMiscellaneous API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryFoodAndDrink API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryDeveloperTools API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryGraphicsAndDesign API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryShopping API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+SR_EXTERN SRDeviceUsageCategoryKey const SRDeviceUsageCategoryStickers API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
 NS_SWIFT_SENDABLE // Immutable with no mutable subclasses
 SR_EXTERN API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRError.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRError.h	2023-05-19 23:20:57
@@ -3,7 +3,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN NSErrorDomain SRErrorDomain API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN NSErrorDomain SRErrorDomain API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 typedef NS_ERROR_ENUM(SRErrorDomain, SRErrorCode) {
     /// No valid entitlement found
@@ -20,6 +20,6 @@
 
     /// Authorization request not completed
     SRErrorPromptDeclined,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFaceMetrics.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFaceMetrics.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFaceMetrics.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFaceMetrics.h	2023-05-19 23:20:57
@@ -0,0 +1,92 @@
+//
+//  SRFaceMetrics.h
+//  SensorKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+
+#if TARGET_OS_XR
+#if __has_include(<ARKitCore/ARKitCore.h>)
+#import <ARKitCore/ARKitCore.h>
+#define SR_ARKIT_SUPPORTED 1
+#endif
+#elif TARGET_OS_IOS && !TARGET_OS_MACCATALYST && !TARGET_OS_SIMULATOR
+#import <ARKit/ARKit.h>
+#define SR_ARKIT_SUPPORTED 1
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef NS_OPTIONS(NSUInteger, SRFaceMetricsContext) {
+    SRFaceMetricsContextDeviceUnlock = 1 << 0,
+    SRFaceMetricsContextMessagingAppUsage = 1 << 1,
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
+@interface SRFaceMetricsExpression : NSObject  <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property identifier
+ * @brief An opaque identifier for the face expression
+ * @discussion More information about what this face expression represents can be found in Apple's developer documentation
+ */
+@property (nonatomic, copy, readonly) NSString *identifier;
+
+/*!
+ * @property value
+ * @brief double value indicating the current position of the expression
+ */
+@property (nonatomic, assign, readonly) double value;
+@end
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
+@interface SRFaceMetrics: NSObject  <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property version
+ * @brief Algorithm version
+ */
+@property(nonatomic, copy, readonly) NSString* version;
+
+/*!
+ * @property sessionIdentifier
+ * @brief Identifier of a camera session
+ */
+@property(nonatomic, copy, readonly) NSString* sessionIdentifier;
+
+/*!
+ * @property context
+ * @brief Indicates system context during a camera session, e.g., if the device was unlocked or (and) a messaging app was used
+ */
+@property(nonatomic, assign, readonly) SRFaceMetricsContext context;
+
+/*!
+ * @property faceAnchor
+ * @brief Description of a face detected in front of camera
+ */
+#if SR_ARKIT_SUPPORTED
+@property(nonatomic, copy, readonly) ARFaceAnchor *faceAnchor;
+#endif
+
+/*!
+ * @property wholeFaceExpressions
+ * @brief Detected whole face expressions
+ */
+@property (nonatomic, copy, readonly) NSArray <SRFaceMetricsExpression *> *wholeFaceExpressions;
+
+/*!
+ * @property partialFaceExpressions
+ * @brief Detected partial face expressions
+ */
+@property (nonatomic, copy, readonly) NSArray <SRFaceMetricsExpression *> *partialFaceExpressions;
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchRequest.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchRequest.h	2023-05-19 23:20:56
@@ -11,7 +11,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos)
 @interface SRFetchRequest : NSObject
 
 /**
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRFetchResult.h	2023-05-19 23:20:56
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos)
 @interface SRFetchResult <SampleType> : NSObject <NSCopying>
 /**
  * @brief Retrieves the resultant sample
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h	2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRKeyboardMetrics.h	2023-05-19 23:20:56
@@ -10,7 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics : NSObject
 
 /// The duration over which these metrics were calculated
@@ -36,7 +36,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics (ScalarMetrics)
 
 /// The total number of words typed during the session
@@ -98,7 +98,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardProbabilityMetric <UnitType : __kindof NSUnit *> : NSObject
 
 /// Sample values from probability distribution
@@ -106,7 +106,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics (ProbabilityMetrics)
 
 /// The distance from the touch up to the center of any key
@@ -235,7 +235,7 @@
 @end
 
 /// Probability metrics for each character in a word in their respective positions (first, second, third, fourth, fifth, and the rest)
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics (PositionalMetrics)
 
 /// The distance from the touch up to the center of the intended key of the characters of a long word
@@ -258,7 +258,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics (SpeedMetrics)
 
 /// The total number of pauses during the session
@@ -290,13 +290,13 @@
     SRKeyboardMetricsSentimentCategorySad,
     SRKeyboardMetricsSentimentCategoryLowEnergy,
     SRKeyboardMetricsSentimentCategoryConfused,
-} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
 /**
  * These metrics describe the number of words and emoji of a particular category typed during
  * a keyboard session. Words and emoji may be counted in multiple categories.
  */
-SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRKeyboardMetrics (SentimentCounts)
 
 /// The count of words typed per category in the session
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRMediaEvent.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRMediaEvent.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRMediaEvent.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRMediaEvent.h	2023-05-19 23:20:56
@@ -13,10 +13,10 @@
 typedef NS_ENUM(NSInteger, SRMediaEventType) {
     SRMediaEventOnScreen = 1,
     SRMediaEventOffScreen,
-} API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+} API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
 NS_SWIFT_SENDABLE
-SR_EXTERN API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRMediaEvent : NSObject <NSCopying, NSSecureCoding>
 
 /*!
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h	2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensorReader.h	2023-05-19 23:20:05
@@ -17,7 +17,7 @@
 NS_ASSUME_NONNULL_BEGIN
 
 @class SRSensorReader;
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos)
 @protocol SRSensorReaderDelegate <NSObject>
 @optional
 
@@ -85,7 +85,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos)
 @interface SRSensorReader : NSObject
 
 /**
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors+SRDeletionRecord.h	2023-05-19 23:20:57
@@ -9,7 +9,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface NSString (SRDeletionRecord)
 /**
  * @brief Returns a sensor stream that contains deletion records of the sensor
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h	2023-03-09 19:07:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSensors.h	2023-05-19 22:49:44
@@ -15,7 +15,7 @@
  * A type of data stream stored in the SensorKit data store.
  *
  */
-typedef NSString * SRSensor NS_TYPED_ENUM API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+typedef NSString * SRSensor NS_TYPED_ENUM API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -29,7 +29,7 @@
  * This data stream stores ambient light sensor data from devices when the screen is on.
  * Fetches from this stream return objects of type SRAmbientLightSample.
  */
-SR_EXTERN SRSensor const SRSensorAmbientLightSensor API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorAmbientLightSensor API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorAccelerometer
@@ -41,7 +41,7 @@
  * This data stream stores acceleration measured by the device's accelerometer.
  * Fetches from this stream return objects of type NSArray<CMRecordedAccelerometerData *> * as defined in the CoreMotion framework.
  */
-SR_EXTERN SRSensor const SRSensorAccelerometer API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorAccelerometer API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorRotationRate
@@ -53,7 +53,7 @@
  * This data stream stores rotation rate measured by the device's gyroscope.
  * Fetches from this stream return objects of type NSArray<CMRecordedRotationRateData *> * as defined in the CoreMotion framework.
  */
-SR_EXTERN SRSensor const SRSensorRotationRate API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorRotationRate API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorVisits
@@ -71,7 +71,7 @@
  *
  * Fetches from this stream return objects of type SRVisit.
  */
-SR_EXTERN SRSensor const SRSensorVisits API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorVisits API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorPedometerData
@@ -83,7 +83,7 @@
  * This stream stores information about your step count.
  * Fetches from this stream return objects of type CMPedometerData as defined in the CoreMotion framework.
  */
-SR_EXTERN SRSensor const SRSensorPedometerData API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorPedometerData API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorDeviceUsageReport
@@ -103,7 +103,7 @@
  *
  * Fetches from this stream return objects of type SRDeviceUsageReport.
  */
-SR_EXTERN SRSensor const SRSensorDeviceUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorDeviceUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorMessagesUsageReport
@@ -120,7 +120,7 @@
  *
  * Fetches from this stream return objects of type SRMessagesUsageReport.
  */
-SR_EXTERN SRSensor const SRSensorMessagesUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorMessagesUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorPhoneUsageReport
@@ -137,7 +137,7 @@
  *
  * Fetches from this stream return objects of type SRPhoneUsageReport.
  */
-SR_EXTERN SRSensor const SRSensorPhoneUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorPhoneUsageReport API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorOnWristState
@@ -154,7 +154,7 @@
  *
  * Fetches from this stream return objects of type SRWristDetection.
  */
-SR_EXTERN SRSensor const SRSensorOnWristState API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorOnWristState API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorKeyboardMetrics
@@ -173,7 +173,7 @@
  *
  * Fetches from this stream return objects of type SRKeyboardMetrics.
  */
-SR_EXTERN SRSensor const SRSensorKeyboardMetrics API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorKeyboardMetrics API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorSiriSpeechMetrics
@@ -191,7 +191,7 @@
  *
  * Fetches from this stream return objects of type SFSpeechRecognitionResult as defined in the Speech framework.
  */
-SR_EXTERN SRSensor const SRSensorSiriSpeechMetrics API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorSiriSpeechMetrics API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorTelephonySpeechMetrics
@@ -210,7 +210,7 @@
  *
  * Fetches from this stream return objects of type SFSpeechRecognitionResult as defined in the Speech framework.
  */
-SR_EXTERN SRSensor const SRSensorTelephonySpeechMetrics API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorTelephonySpeechMetrics API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorAmbientPressure
@@ -227,7 +227,7 @@
  *
  * Fetches from this stream return objects of type NSArray<CMRecordedPressureData *> * as defined in the CoreMotion framework.
  */
-SR_EXTERN SRSensor const SRSensorAmbientPressure API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorAmbientPressure API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 /*!
  * @const SRSensorMediaEvents
@@ -243,5 +243,67 @@
  * @/textblock
  * Fetches from this stream return objects of type SRMediaEvent.
  */
-SR_EXTERN SRSensor const SRSensorMediaEvents API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+SR_EXTERN SRSensor const SRSensorMediaEvents API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
+
+/*!
+ * @const SRSensorWristTemperature
+ *
+ * @brief
+ * Sensor stream for Apple Watch temperatures on wrist while sleeping
+ *
+ * @discussion
+ * This stream stores Apple Watch on wrist temperature measurements including:
+ * @textblock
+ *   - StartTime
+ *   - Duration of collected temperature measurements
+ *   - version of algorithm
+ *   - Temperature samples
+ * @/textblock
+ *
+ * Fetches from this stream return objects of type SRWristTemperatureSession.
+ */
+SR_EXTERN SRSensor const SRSensorWristTemperature API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
+
+/*!
+ * @const SRSensorHeartRate
+ *
+ * @brief
+ * Estimated heart rate
+ *
+ * @discussion
+ * Fetches from this stream return objects of type \c CMHighFrequencyHeartRateData
+ */
+SR_EXTERN SRSensor const SRSensorHeartRate API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
+
+
+/*!
+ * @const SRSensorFaceMetrics
+ *
+ * @brief
+ * Sensor stream for face metrics collection
+ *
+ * @discussion
+ * This stream stores face metrics including:
+ * @textblock
+ *   - algorithm version
+ *   - face description and face expressions
+ *   - data collection session identifier
+ * @/textblock
+ *
+ * Fetches from this stream return objects of type SRFaceMetrics.
+ */
+SR_EXTERN SRSensor const SRSensorFaceMetrics API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
+
+/*!
+ * @const SRSensorOdometer
+ *
+ * @brief
+ * Odometer sensor stream
+ *
+ * @discussion
+ * This stream stores measurements of your distance and speed
+ * Fetches from this stream return objects of type \c CMOdometerData as defined in the CoreMotion framework.
+ */
+SR_EXTERN SRSensor const SRSensorOdometer API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
+
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSpeechMetrics.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSpeechMetrics.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSpeechMetrics.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRSpeechMetrics.h	2023-05-19 23:20:56
@@ -0,0 +1,146 @@
+//
+//  SRSpeechMetrics.h
+//  SensorKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+#import <Speech/Speech.h>
+#import <SoundAnalysis/SoundAnalysis.h>
+#import <CoreMedia/CoreMedia.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+@interface SRSpeechExpression : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property version
+ * @brief Version of the algorithm used to generate \c SRSpeechExpression
+ */
+@property (nonatomic, readonly, copy) NSString *version;
+
+/*!
+ * @property version
+ * @brief The time range in the client-provided audio stream to which this classification
+ * result corresponds
+ */
+@property (nonatomic, readonly, assign) CMTimeRange timeRange;
+
+/*!
+ * @property confidence
+ * @brief The level of confidence normalized to [0, 1], where 1 is most confident
+ */
+@property (nonatomic, readonly, assign) double confidence;
+
+/*!
+ * @property mood
+ * @brief Indicator of how slurry/tired/exhausted the speaker sounds as opposed to normal.
+ *
+ * @discussion
+ * on a scale from -1 to 1, where negative scores indicate 'negative'
+ * sentiment, and positive scores indicate 'positive' sentiment.
+ */
+@property (nonatomic, readonly, assign) double mood;
+
+/*!
+ * @property valence
+ * @brief Degree of (perceived) positive or negative emotion/sentiment from voice
+ *
+ * @discussion
+ * on a scale from -1 to 1, where negative scores indicate 'negative'
+ * sentiment, and positive scores indicate 'positive' sentiment.
+ * */
+@property (nonatomic, readonly, assign) double valence;
+
+/*!
+ * @property activation
+ * @brief Level of energy or activation (perceived) in voice
+ *
+ * @discussion
+ * on a scale from -1 to 1, where negative scores indicate 'negative'
+ * sentiment, and positive scores indicate 'positive' sentiment.
+ */
+@property (nonatomic, readonly, assign) double activation;
+
+/*!
+ * @property dominance
+ * @brief Degree of how strong or meek a person sounds (perceptually)
+ *
+ * @discussion
+ * on a scale from -1 to 1, where negative scores indicate 'negative'
+ * sentiment, and positive scores indicate 'positive' sentiment. 
+ */
+@property (nonatomic, readonly, assign) double dominance;
+@end
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+@interface SRAudioLevel : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property version
+ * @brief The time range in the client-provided audio stream to which this classification
+ * result corresponds
+ */
+@property (nonatomic, readonly, assign) CMTimeRange timeRange;
+
+/*!
+ * @property loudness
+ * @brief Measure of the audio level in decibels
+ */
+@property (nonatomic, readonly, assign) double loudness;
+@end
+
+/*!
+ * @typedef SRSpeechMetricsSessionFlags
+ * @brief Flags indicating more information about how audio processing was done
+ *  on the audio stream
+ *
+ * @const SRSpeechMetricsSessionFlagsDefault
+ * @brief Audio stream went through the system voice processor
+ *
+ * @const SRSpeechMetricsSessionFlagsBypassVoiceProcessing
+ * @brief Audio stream bypassed the system voice processor.
+ *
+ */
+typedef NS_OPTIONS(NSUInteger, SRSpeechMetricsSessionFlags) {
+    SRSpeechMetricsSessionFlagsDefault = 0,
+    SRSpeechMetricsSessionFlagsBypassVoiceProcessing = (1U << 0),
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+@interface SRSpeechMetrics : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property sessionIdentifier
+ * @brief Identifier of an audio session e.g., a Phone call or Siri utterance
+ */
+@property (nonatomic, readonly, copy) NSString *sessionIdentifier;
+
+
+@property (nonatomic, readonly, assign) SRSpeechMetricsSessionFlags sessionFlags;
+
+/*!
+ * @property timestamp
+ * @brief The wall time when this sample was generated
+ */
+@property (nonatomic, readonly, strong) NSDate *timestamp;
+
+@property (nonatomic, nullable, readonly, strong) SRAudioLevel *audioLevel;
+@property (nonatomic, nullable, readonly, strong) SFSpeechRecognitionResult *speechRecognition;
+@property (nonatomic, nullable, readonly, strong) SNClassificationResult *soundClassification;
+@property (nonatomic, nullable, readonly, strong) SRSpeechExpression *speechExpression;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRUsageReports.h	2023-05-19 22:49:45
@@ -14,7 +14,7 @@
 @class SRNotificationUsage;
 @class SRWebUsage;
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRDeviceUsageReport : NSObject
 
 /// The duration of this report
@@ -57,9 +57,9 @@
     SRTextInputSessionTypeThirdPartyKeyboard,
     SRTextInputSessionTypePencil,
     SRTextInputSessionTypeDictation,
-} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+} API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
-SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRTextInputSession : NSObject
 
 @property (readonly) NSTimeInterval duration;
@@ -71,10 +71,10 @@
  *
  * @brief Unique identifier of keyboard session
  */
-@property (readonly) NSString *sessionIdentifier API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+@property (readonly, copy) NSString *sessionIdentifier API_AVAILABLE(ios(16.4)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRApplicationUsage : NSObject
 
 /// The bundle identifier of the app in use. Only populated for Apple apps.
@@ -145,9 +145,9 @@
     SRNotificationEventDeduped,
     SRNotificationEventDeviceActivated,
     SRNotificationEventDeviceUnlocked,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRNotificationUsage : NSObject
 
 /// The bundle identifier of the application that corresponds to the notification. Only populated for Apple apps.
@@ -157,12 +157,12 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRWebUsage : NSObject
 @property (readonly) NSTimeInterval totalUsageTime;
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRMessagesUsageReport : NSObject
 
 @property (readonly) NSTimeInterval duration;
@@ -172,7 +172,7 @@
 
 @end
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRPhoneUsageReport : NSObject
 
 @property (readonly) NSTimeInterval duration;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRVisit.h	2023-05-19 23:20:56
@@ -17,9 +17,9 @@
     SRLocationCategoryWork,
     SRLocationCategorySchool,
     SRLocationCategoryGym,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRVisit : NSObject
 
 /// The distance between the location of interest to home
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h	2023-03-09 19:07:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristDetection.h	2023-05-19 23:20:57
@@ -13,14 +13,14 @@
 typedef NS_ENUM(NSInteger, SRWristLocation) {
     SRWristLocationLeft,
     SRWristLocationRight,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
 typedef NS_ENUM(NSInteger, SRCrownOrientation) {
     SRCrownOrientationLeft,
     SRCrownOrientationRight,
-} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos) API_UNAVAILABLE(tvos);
+} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, macos, xros) API_UNAVAILABLE(tvos);
 
-SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos, macos)
+SR_EXTERN API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
 @interface SRWristDetection : NSObject
 @property(readonly) BOOL onWrist;
 @property(readonly) SRWristLocation wristLocation;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperature.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperature.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperature.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperature.h	2023-05-19 23:20:56
@@ -0,0 +1,71 @@
+//
+//  SRWristTemperature.h
+//  SensorKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*
+ *  SRWristTemperatureCondition
+ *
+ *  Discussion:
+ *     Indicates if the temperature accuracy has been impacted by any user initiated activiy.
+ *
+ *    Definitions of each condition as follows:
+ *        - SRWristTemperatureConditionNone indicates data has not been impacted.
+ *        - SRWristTemperatureConditionOffWrist indicates device has been off wrist and data has been impacted.
+ *        - SRWristTemperatureConditionOnCharger indicates device has been on the charger and data has been impacted.
+ *        - SRWristTemperatureConditionInMotion indicates data has been impacted by movement.
+ */
+typedef NS_OPTIONS(NSUInteger, SRWristTemperatureCondition) {
+    SRWristTemperatureConditionNone = 0,
+    SRWristTemperatureConditionOffWrist = 1 << 0,
+    SRWristTemperatureConditionOnCharger = 1 << 1,
+    SRWristTemperatureConditionInMotion = 1 << 2,
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos);
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
+@interface SRWristTemperature : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property timestamp
+ *
+ * @brief Timestamp of when temperature measurement was taken.
+ *
+ */
+@property(nonatomic, strong, readonly) NSDate *timestamp;
+
+/*!
+ * @property value
+ *
+ * @brief Temperature sensor value in celsius
+ *
+ */
+@property(nonatomic, strong, readonly) NSMeasurement<NSUnitTemperature *> *value;
+
+/*!
+ * @property condition
+ *
+ * @brief Indicate system conditions that may impact the temperature sample.
+ *
+ */
+@property (nonatomic, readonly) SRWristTemperatureCondition condition;
+
+/*!
+ * @property errorEstimate
+ *
+ * @brief Estimated temperature error per sample.
+ *        Error could be in either positive or negative direction.
+ */
+@property(nonatomic, strong, readonly) NSMeasurement<NSUnitTemperature *> *errorEstimate;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperatureSession.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperatureSession.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperatureSession.h	1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRWristTemperatureSession.h	2023-05-19 23:20:56
@@ -0,0 +1,53 @@
+//
+//  SRWristTemperatureSession.h
+//  SensorKit
+//
+//  Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SensorKit/SRDefines.h>
+#import <SensorKit/SRWristTemperature.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_SWIFT_SENDABLE
+SR_EXTERN API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, xros) API_UNAVAILABLE(tvos, macos)
+@interface SRWristTemperatureSession : NSObject <NSCopying, NSSecureCoding>
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ * @property startDate
+ *
+ * @brief Indicates when temperatures were collected.
+ *
+ */
+@property(nonatomic, strong, readonly) NSDate *startDate;
+
+/*!
+ * @property duration
+ *
+ * @brief Precise number of seconds temperatures were collected.
+ *
+ */
+@property(nonatomic, readonly) NSTimeInterval duration;
+
+/*!
+ * @property version
+ *
+ * @brief Algorithm version.
+ *
+ */
+@property(nonatomic, copy, readonly) NSString *version;
+
+/*!
+ * @property temperatures
+ *
+ * @brief Enumerator which could be used to view calculated wrist temperatures, along with their reading accuracy.
+ *
+ */
+@property(nonatomic, copy, readonly) NSEnumerator<SRWristTemperature *> *temperatures NS_REFINED_FOR_SWIFT;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.apinotes /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.apinotes
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.apinotes	2023-03-04 16:28:55
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.apinotes	2023-05-19 23:17:30
@@ -35,6 +35,8 @@
 - Name: SRAbsoluteTimeFromCFAbsoluteTime
   SwiftName: 'SRAbsoluteTime.fromCFAbsoluteTime(_cf:)'
 Tags:
+- Name: SRWristTemperatureCondition
+  SwiftName: SRWristTemperature.Condition
 - Name: SRAmbientLightSensorPlacement
   SwiftName: SRAmbientLightSample.SensorPlacement
 - Name: SRLocationCategory
@@ -51,6 +53,10 @@
   SwiftName: SRKeyboardMetrics.SentimentCategory
 - Name: SRTextInputSessionType
   SwiftName: SRTextInputSession.SessionType
+- Name: SRSpeechMetricsSessionFlags
+  SwiftName: SRSpeechMetrics.SessionFlags
+- Name: SRFaceMetricsContext
+  SwiftName: SRFaceMetrics.Context
 # Local Variables:
 # mode: yaml
 # End:
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h	2023-03-04 16:29:25
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SensorKit.h	2023-05-19 23:20:56
@@ -25,4 +25,8 @@
 #import <SensorKit/SRDeletionRecord.h>
 #import <SensorKit/SRSensors+SRDeletionRecord.h>
 #import <SensorKit/SRWristDetection.h>
+#import <SensorKit/SRWristTemperature.h>
+#import <SensorKit/SRWristTemperatureSession.h>
 #import <SensorKit/SRMediaEvent.h>
+#import <SensorKit/SRSpeechMetrics.h>
+#import <SensorKit/SRFaceMetrics.h>
Clone this wiki locally