SCScreenshotManager.CaptureSampleBuffer 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.
[Foundation.Export("captureSampleBufferWithFilter:configuration:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void CaptureSampleBuffer(ScreenCaptureKit.SCContentFilter contentFilter, ScreenCaptureKit.SCStreamConfiguration config, Action<CoreMedia.CMSampleBuffer,Foundation.NSError>? completionHandler);
[<Foundation.Export("captureSampleBufferWithFilter:configuration:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CaptureSampleBuffer : ScreenCaptureKit.SCContentFilter * ScreenCaptureKit.SCStreamConfiguration * Action<CoreMedia.CMSampleBuffer, Foundation.NSError> -> unit
Parameters
- contentFilter
- SCContentFilter
- config
- SCStreamConfiguration
- completionHandler
- Action<CMSampleBuffer,NSError>
- Attributes