---
title: "writeAttributeLocation(withValue:params:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbasicinformation/writeattributelocation(withvalue:params:completion:)"
---

# writeAttributeLocation(withValue:params:completion:)

## Declaration

```swift
func writeAttributeLocation(withValue value: String, params: MTRWriteParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeLocation(withValue value: String, params: MTRWriteParams?) async throws
```
