---
title: "readAttributeRebootCount(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustergeneraldiagnostics/readattributerebootcount(completionhandler:)"
---

# readAttributeRebootCount(completionHandler:)

## Declaration

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

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