Skip to content

AVFoundation macOS xcode26.2 b2

Alex Soto edited this page Nov 19, 2025 · 2 revisions

#AVFoundation.framework https://github.com/dotnet/macios/pull/24285

diff -ruN /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h /Applications/Xcode_26.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h
--- /Applications/Xcode_26.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h	2025-10-23 04:40:02
+++ /Applications/Xcode_26.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h	2025-11-14 01:51:20
@@ -3749,6 +3749,34 @@
 
 @end
 
+
+API_AVAILABLE(macos(26.2), ios(26.2), macCatalyst(26.2), tvos(26.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
+@interface AVCaptureDevice (AVCaptureDeviceEdgeLight)
+
+/// A class property indicating whether the Edge Light feature is currently enabled in Control Center.
+///
+/// This readonly property changes to reflect the Edge Light state in Control Center. It is key-value observable.
+@property(class, readonly, getter=isEdgeLightEnabled) BOOL edgeLightEnabled API_AVAILABLE(macos(26.2), ios(26.2), macCatalyst(26.2), tvos(26.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
+
+/// A class property indicating whether the edge light UI is actively being shown on a screen.
+///
+/// This readonly property reflects whether the edge light UI is actively being shown on a screen. It is key-value observable.
+@property(class, readonly, getter=isEdgeLightActive) BOOL edgeLightActive API_AVAILABLE(macos(26.2), ios(26.2), macCatalyst(26.2), tvos(26.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
+
+@end
+
+
+API_AVAILABLE(macos(26.2), ios(26.2), macCatalyst(26.2), tvos(26.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
+@interface AVCaptureDeviceFormat (AVCaptureDeviceFormatEdgeLight)
+
+/// Indicates whether the format supports the Edge Light feature.
+///
+/// This property returns YES if the device supports the Edge Light feature. See +AVCaptureDevice.edgeLightEnabled.
+@property(nonatomic, readonly, getter=isEdgeLightSupported) BOOL edgeLightSupported API_AVAILABLE(macos(26.2), ios(26.2), macCatalyst(26.2), tvos(26.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos);
+
+@end
+
+
 API_AVAILABLE(macos(26.0), ios(26.0), macCatalyst(26.0), tvos(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 @interface AVCaptureDeviceFormat (AVCaptureDeviceFormatCinematicVideoSupport)
 
Clone this wiki locally