---
title: "writeAttributeOptions(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterlevelcontrol/writeattributeoptions(withvalue:completionhandler:)"
---

# writeAttributeOptions(withValue:completionHandler:)

## Declaration

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

```swift
func writeAttributeOptions(withValue value: NSNumber) async throws
```
