---
title: "readAttributeCarrierDetect(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterethernetnetworkdiagnostics/readattributecarrierdetect(completionhandler:)"
---

# readAttributeCarrierDetect(completionHandler:)

## Declaration

```swift
func readAttributeCarrierDetect(completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeCarrierDetect() async throws -> NSNumber
```
