SCScreenshotManager.CaptureScreenshotAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CaptureScreenshotAsync(CGRect, SCScreenshotConfiguration) | |
| CaptureScreenshotAsync(SCContentFilter, SCScreenshotConfiguration) |
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
- config
- SCScreenshotConfiguration
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
- config
- SCScreenshotConfiguration
Returns
- Attributes