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

# writeAttributeNullableEnum8(withValue:completionHandler:)

## Declaration

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

```swift
func writeAttributeNullableEnum8(withValue value: NSNumber?) async throws
```
