---
title: "readAttributeDeviceTypeList(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterdescriptor/readattributedevicetypelist(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeDeviceTypeList(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeDeviceTypeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable ([Any]?, (any Error)?) -> Void)
```

```swift
class func readAttributeDeviceTypeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
```
