-
Notifications
You must be signed in to change notification settings - Fork 517
ScreenCaptureKit macOS xcode16.2 b3
Rolf Bjarne Kvinge edited this page Nov 29, 2024
·
2 revisions
#ScreenCaptureKit.framework https://github.com/xamarin/xamarin-macios/pull/21730
diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCScreenshotManager.h /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCScreenshotManager.h
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCScreenshotManager.h 2024-10-25 00:27:00
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCScreenshotManager.h 2024-11-11 08:21:39
@@ -31,6 +31,13 @@
*/
+ (void)captureImageWithFilter:(SCContentFilter *)contentFilter configuration:(SCStreamConfiguration *)config completionHandler:(nullable void (^)(CGImageRef _Nullable sampleBuffer, NSError *_Nullable error))completionHandler NS_SWIFT_NAME(captureImage(contentFilter:configuration:completionHandler:)) API_AVAILABLE(macos(14.0));
+/*!
+ @abstract captureImageInRect:completionHandler:
+ @param rect the rect for the region in points on the screen space for the screen shot, this is display agnostic and supports multiple displays
+ @param completionHandler is the handler that will deliver the screenshot to the client
+ @discussion this method returns an image containing the contents of the rectangle in points, specified in display space
+*/
++ (void)captureImageInRect:(CGRect)rect completionHandler:(nullable void (^)(CGImageRef _Nullable image, NSError *_Nullable error))completionHandler NS_SWIFT_NAME(captureImage(in:completionHandler:)) API_AVAILABLE(macos(15.2));
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h 2024-10-25 00:27:00
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/ScreenCaptureKit.framework/Headers/SCStream.h 2024-11-11 09:16:35
@@ -124,6 +124,21 @@
@property(nonatomic, assign) BOOL includeMenuBar API_AVAILABLE(macos(14.2));
/*!
+ @abstract SCDisplays that are included in the content filter
+ */
+@property(nonnull, nonatomic, readonly) NSArray <SCDisplay *> *includedDisplays API_AVAILABLE(macos(15.2));
+
+/*!
+ @abstract Applications that are included in the content filter
+ */
+@property (nonnull, nonatomic, readonly) NSArray <SCRunningApplication *> *includedApplications API_AVAILABLE(macos(15.2));
+
+/*!
+ @abstract Windows that are included in the content filter
+ */
+@property (nonnull, nonatomic, readonly) NSArray <SCWindow *> *includedWindows API_AVAILABLE(macos(15.2));
+
+/*!
@abstract initWithDesktopIndependentWindow:
@param window the independent SCWindow you wish to capture
@discussion this method will create a SCContentFilter that captures just the independent window passed in.
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status