---
title: "readAttributeLocationCapability(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustergeneralcommissioning/readattributelocationcapability(completionhandler:)"
---

# readAttributeLocationCapability(completionHandler:)

## Declaration

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

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