Skip to content

SensorKit macOS xcode15.3 b2

Alex Soto edited this page Jul 9, 2024 · 2 revisions

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

diff -ruN /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRPhotoplethysmogramSample.h /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRPhotoplethysmogramSample.h
--- /Applications/Xcode_15.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRPhotoplethysmogramSample.h	2024-01-11 22:36:11
+++ /Applications/Xcode_15.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SensorKit.framework/Headers/SRPhotoplethysmogramSample.h	2024-01-29 12:30:25
@@ -10,7 +10,7 @@
 
 NS_HEADER_AUDIT_BEGIN(nullability, sendability)
 
-typedef NSString *SRPhotoplethysmogramOpticalSampleCondition NS_TYPED_ENUM;
+typedef NSString *SRPhotoplethysmogramOpticalSampleCondition NS_TYPED_ENUM API_AVAILABLE(ios(17.4)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
 SR_EXTERN SRPhotoplethysmogramOpticalSampleCondition const SRPhotoplethysmogramOpticalSampleConditionSignalSaturation API_AVAILABLE(ios(17.4)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
 SR_EXTERN SRPhotoplethysmogramOpticalSampleCondition const SRPhotoplethysmogramOpticalSampleConditionUnreliableNoise API_AVAILABLE(ios(17.4)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
 
@@ -201,7 +201,7 @@
 
 @end
 
-typedef NSString *SRPhotoplethysmogramSampleUsage NS_TYPED_ENUM;
+typedef NSString *SRPhotoplethysmogramSampleUsage NS_TYPED_ENUM API_AVAILABLE(ios(17.4)) API_UNAVAILABLE(watchos, visionos) API_UNAVAILABLE(tvos, macos);
 
 /*!
  * @typedef SRPhotoplethysmogramSampleUsageForegroundHeartRate
Clone this wiki locally