Editar

Compartir a través de


RPScreenRecorder.StartCapture Method

Definition

Starts recording.

[Foundation.Export("startCaptureWithHandler:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartCapture (Action<CoreMedia.CMSampleBuffer,ReplayKit.RPSampleBufferType,Foundation.NSError> captureHandler, Action<Foundation.NSError> completionHandler);
abstract member StartCapture : Action<CoreMedia.CMSampleBuffer, ReplayKit.RPSampleBufferType, Foundation.NSError> * Action<Foundation.NSError> -> unit
override this.StartCapture : Action<CoreMedia.CMSampleBuffer, ReplayKit.RPSampleBufferType, Foundation.NSError> * Action<Foundation.NSError> -> unit

Parameters

captureHandler
Action<CMSampleBuffer,RPSampleBufferType,NSError>

To be added.

This parameter can be null.

completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to