---
title: "readAttributeLocation(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbasic/readattributelocation(completionhandler:)"
---

# readAttributeLocation(completionHandler:)

## Declaration

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

```swift
func readAttributeLocation() async throws -> String
```
