Modifier

Partager via


RPScreenRecorder.StartCaptureAsync Method

Definition

Starts recording.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task StartCaptureAsync (Action<CoreMedia.CMSampleBuffer,ReplayKit.RPSampleBufferType,Foundation.NSError> captureHandler);
abstract member StartCaptureAsync : Action<CoreMedia.CMSampleBuffer, ReplayKit.RPSampleBufferType, Foundation.NSError> -> System.Threading.Tasks.Task
override this.StartCaptureAsync : Action<CoreMedia.CMSampleBuffer, ReplayKit.RPSampleBufferType, Foundation.NSError> -> System.Threading.Tasks.Task

Parameters

captureHandler
Action<CMSampleBuffer,RPSampleBufferType,NSError>

To be added.This parameter can be .

Returns

A task that represents the asynchronous StartCapture operation

Attributes

Applies to