RPScreenRecorder.StartCaptureAsync 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.
Starts recording.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public System.Threading.Tasks.Task StartCaptureAsync(Action<CoreMedia.CMSampleBuffer,ReplayKit.RPSampleBufferType,Foundation.NSError>? captureHandler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.StartCaptureAsync : Action<CoreMedia.CMSampleBuffer, ReplayKit.RPSampleBufferType, Foundation.NSError> -> System.Threading.Tasks.Task
Parameters
- captureHandler
- Action<CMSampleBuffer,RPSampleBufferType,NSError>
Returns
A task that represents the asynchronous StartCapture operation
- Attributes