---
title: "writeAttributeEnum16(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/writeattributeenum16(withvalue:completionhandler:)"
---

# writeAttributeEnum16(withValue:completionHandler:)

## Declaration

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

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