---
title: "setDeviceControllerDelegate(_:queue:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrdevicecontroller/setdevicecontrollerdelegate(_:queue:)"
---

# setDeviceControllerDelegate(_:queue:)

## Declaration

```swift
func setDeviceControllerDelegate(_ delegate: any MTRDeviceControllerDelegate, queue: dispatch_queue_t)
```

## Mentioned in

Onboarding a Matter device
