Share via


SCScreenshotManager.CaptureScreenshotAsync Method

Definition

Overloads

CaptureScreenshotAsync(CGRect, SCScreenshotConfiguration)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<ScreenCaptureKit.SCScreenshotOutput> CaptureScreenshotAsync(CoreGraphics.CGRect rect, ScreenCaptureKit.SCScreenshotConfiguration config);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureScreenshotAsync : CoreGraphics.CGRect * ScreenCaptureKit.SCScreenshotConfiguration -> System.Threading.Tasks.Task<ScreenCaptureKit.SCScreenshotOutput>

Parameters

rect
CGRect

Returns

Attributes

Applies to

CaptureScreenshotAsync(SCContentFilter, SCScreenshotConfiguration)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<ScreenCaptureKit.SCScreenshotOutput> CaptureScreenshotAsync(ScreenCaptureKit.SCContentFilter contentFilter, ScreenCaptureKit.SCScreenshotConfiguration config);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureScreenshotAsync : ScreenCaptureKit.SCContentFilter * ScreenCaptureKit.SCScreenshotConfiguration -> System.Threading.Tasks.Task<ScreenCaptureKit.SCScreenshotOutput>

Parameters

contentFilter
SCContentFilter

Returns

Attributes

Applies to