---
title: "subscribeAttributeGeneratedCommandList(with:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterlaundrywashercontrols/subscribeattributegeneratedcommandlist(with:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeGeneratedCommandList(with:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeGeneratedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
```
