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

# readAttributeCollisionCount(completionHandler:)

## Declaration

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

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