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

# writeAttributeRangeRestrictedInt16u(withValue:params:completionHandler:)

## Declaration

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

```swift
func writeAttributeRangeRestrictedInt16u(withValue value: NSNumber, params: MTRWriteParams?) async throws
```
