---
title: "writeAttributeBarrierOpenEvents(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbarriercontrol/writeattributebarrieropenevents(withvalue:completionhandler:)"
---

# writeAttributeBarrierOpenEvents(withValue:completionHandler:)

## Declaration

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

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