delegate
A delegate object that receives depth data.
Declaration
var delegate: (any 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.