---
title: "subscribeAttributeBatApprovedChemistry(with:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpowersource/subscribeattributebatapprovedchemistry(with:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeBatApprovedChemistry(with:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeBatApprovedChemistry(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
```
