Instance Property

delegate

A delegate object that receives depth data.

Declaration

var delegate: AVCaptureDepthDataOutputDelegate? { get }

Discussion

This property is read-only. You set the delegate object and the dispatch queue for calling delegate methods together using the setDelegate(_:callbackQueue:) method.

See Also

Receiving Captured Depth Data

func setDelegate(AVCaptureDepthDataOutputDelegate?, callbackQueue: DispatchQueue?)

Designates a delegate object to receive depth data and a dispatch queue for delivering that data.

var delegateCallbackQueue: DispatchQueue?

A dispatch queue for delivering depth data.

protocol AVCaptureDepthDataOutputDelegate

Methods for receiving depth data produced by a depth capture output.