---
title: "getDeviceBeingCommissioned(_:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrdevicecontroller/getdevicebeingcommissioned(_:)"
---

# getDeviceBeingCommissioned(_:)

## Declaration

```swift
func getDeviceBeingCommissioned(_ deviceId: UInt64) throws -> MTRBaseDevice
```
