<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDepthDataOutput/delegate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDepthDataOutput(py)delegate"
  },
  "title" : "delegate"
}
-->

# delegate

A delegate object that receives depth data.

```
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:)`](/documentation/AVFoundation/AVCaptureDepthDataOutput/setDelegate(_:callbackQueue:)) method.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)