---
title: "readAttributeSupportedModes(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermodeselect/readattributesupportedmodes(completionhandler:)"
---

# readAttributeSupportedModes(completionHandler:)

## Declaration

```swift
func readAttributeSupportedModes(completionHandler: @escaping @Sendable ([Any]?, (any Error)?) -> Void)
```

```swift
func readAttributeSupportedModes() async throws -> [Any]
```
