---
title: "handleBDXTransferSessionEnd(forNodeID:controller:metrics:error:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrotaproviderdelegate/handlebdxtransfersessionend(fornodeid:controller:metrics:error:)"
---

# handleBDXTransferSessionEnd(forNodeID:controller:metrics:error:)

Notify the delegate when a BDX Session ends for some node.  The controller identifies the fabric the node is on, and the nodeID identifies the node within that fabric.

## Declaration

```swift
optional func handleBDXTransferSessionEnd(forNodeID nodeID: NSNumber, controller: MTRDeviceController, metrics: MTRMetrics, error: (any Error)?)
```
