<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 14.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDepthDataOutputDelegate/depthDataOutput(_:didDrop:timestamp:connection:reason:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(pl)AVCaptureDepthDataOutputDelegate(im)depthDataOutput:didDropDepthData:timestamp:connection:reason:"
  },
  "title" : "depthDataOutput(_:didDrop:timestamp:connection:reason:)"
}
-->

# depthDataOutput(_:didDrop:timestamp:connection:reason:)

Informs the delegate that captured depth data was not processed.

```
optional func depthDataOutput(_ output: AVCaptureDepthDataOutput, didDrop depthData: AVDepthData, timestamp: CMTime, connection: AVCaptureConnection, reason: AVCaptureOutput.DataDroppedReason)
```

## Parameters

`output`

The depth data output providing data.

`depthData`

A depth data object containing information about the  dropped data, such as its data type. Because this depth data was not captured or processed, its [`depthDataMap`](/documentation/AVFoundation/AVDepthData/depthDataMap) property is empty.

`timestamp`

The time at which the data was captured.

`connection`

The capture connection through which the data was captured.

`reason`

The reason depth data was dropped.

## Discussion

The capture output calls this method once for each incident of dropped depth data. The object in the `depthData` parameter is an empty shell, and doesn’t contain a depth data backing pixel buffer.

The capture output calls this method on the dispatch queue specified by its [`delegateCallbackQueue`](/documentation/AVFoundation/AVCaptureDepthDataOutput/delegateCallbackQueue) property. Because this method executes on the same dispatch queue that outputs depth data, your implementation must be efficient to prevent further capture performance problems such as additional drops.

---

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)