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

# activatedDevice(_:session:)

Notifies the system that a device has been successfully activated and is ready for use.

```
@MainActor final func activatedDevice(_ device: MediaOutputDevice, session: MediaOutputSession)
```

## Parameters

`device`

The device that activation completed for.

`session`

The session associated with the activation.

## Discussion

Call this function when activation has completed for a device.

---

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)