---
title: "devicesChanged(for:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrdevicecontrollerdelegate/deviceschanged(for:)"
---

# devicesChanged(for:)

Notify the delegate when the list of MTRDevice objects in memory has changed.

## Declaration

```swift
optional func devicesChanged(for controller: MTRDeviceController)
```
