<!--
{
  "availability" : [
    "iOS: 18.5.0 -",
    "iPadOS: 18.5.0 -",
    "macCatalyst: 18.5.0 -",
    "macOS: 15.5.0 -",
    "tvOS: 18.5.0 -",
    "visionOS: 2.5.0 -",
    "watchOS: 11.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Matter",
  "identifier" : "/documentation/Matter/MTRDeviceControllerDelegate/controller(_:commissioneeHasReceivedNetworkCredentials:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Matter"
    ],
    "preciseIdentifier" : "c:objc(pl)MTRDeviceControllerDelegate(im)controller:commissioneeHasReceivedNetworkCredentials:"
  },
  "title" : "controller(_:commissioneeHasReceivedNetworkCredentials:)"
}
-->

# controller(_:commissioneeHasReceivedNetworkCredentials:)

Notify the delegate that we have successfully communicated the network
credentials to the device being commissioned and are about to tell it to join
that network.  Note that for devices that are already on-network this
notification will not happen.

```
optional func controller(_ controller: MTRDeviceController, commissioneeHasReceivedNetworkCredentials nodeID: NSNumber)
```

---

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)