---
title: "writeAttributeStructAttr(withValue:expectedValueInterval:params:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterunittesting/writeattributestructattr(withvalue:expectedvalueinterval:params:)"
---

# writeAttributeStructAttr(withValue:expectedValueInterval:params:)

## Declaration

```swift
func writeAttributeStructAttr(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
```
