---
title: "readAttributeCurrentState(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermediaplayback/readattributecurrentstate(completion:)"
---

# readAttributeCurrentState(completion:)

## Declaration

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

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