---
title: "readAttributeRxDataCount(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/readattributerxdatacount(completionhandler:)"
---

# readAttributeRxDataCount(completionHandler:)

## Declaration

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

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