<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaDevice",
  "identifier" : "/documentation/MediaDevice/MediaDeviceRoutingManager/updateDevices(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Device"
    ],
    "preciseIdentifier" : "s:11MediaDevice0aB14RoutingManagerC13updateDevicesyySayAA0a6OutputB0VGF"
  },
  "title" : "updateDevices(_:)"
}
-->

# updateDevices(_:)

Notifies the system that one or more devices have changed state, so their information can be refreshed in device lists.

```
@MainActor final func updateDevices(_ devices: [MediaOutputDevice])
```

## Parameters

`devices`

The devices whose state has been updated.

## Discussion

Call this function when [`MediaOutputDevice`](/documentation/MediaDevice/MediaOutputDevice) instances have had their state updated.
This may be called after an activate or deactivate call to reflect updated grouping information.

---

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)