Instance Property

sampleBufferDelegate

The capture object’s delegate.

Declaration

var sampleBufferDelegate: AVCaptureVideoDataOutputSampleBufferDelegate? { get }

Discussion

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software