<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MatterSupport",
  "identifier" : "/documentation/MatterSupport/MatterAddDeviceExtensionRequestHandler/ThreadNetworkAssociation/network(extendedPANID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "MatterSupport"
    ],
    "preciseIdentifier" : "s:13MatterSupport0A32AddDeviceExtensionRequestHandlerC24ThreadNetworkAssociationV7network13extendedPANIDAEs6UInt64V_tFZ"
  },
  "title" : "network(extendedPANID:)"
}
-->

# network(extendedPANID:)

Obtains the Thread network extended PAN identifier.

```
static func network(extendedPANID: UInt64) -> MatterAddDeviceExtensionRequestHandler.ThreadNetworkAssociation
```

## Return Value

The Thread network extended PAN identifier.

## Discussion

The system retrieves the network parameters from <doc://com.apple.documentation/documentation/ThreadNetwork/THClient/retrieveCredentials(forExtendedPANID:completion:)> using
the provided parameter. The credentials must be present in the store or else association and pairing fails.

---

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)