Instance Property


A delegate object that receives depth data.


var delegate: AVCaptureDepthDataOutputDelegate? { get }


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.