Instance Property


The capture object’s delegate.


var sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate? { get }


The delegate receives sample buffers after they are captured.

You set the delegate using setSampleBufferDelegate(_:queue:).

See Also

Receiving Captured Video Data

func setSampleBufferDelegate(AVCaptureVideoDataOutputSampleBufferDelegate?, queue: DispatchQueue?)

Sets the sample buffer delegate and the queue on which callbacks should be invoked.

var sampleBufferCallbackQueue: DispatchQueue?

The queue on which delegate callbacks should be invoked

protocol AVCaptureVideoDataOutputSampleBufferDelegate

Methods for receiving sample buffers from and monitoring the status of a video data output.