---
title: "readAttributeDefaultOTAProviders(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterotasoftwareupdaterequestor-9n6nb/readattributedefaultotaproviders(withclusterstatecache:endpoint:queue:completion:)"
---

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

## Declaration

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

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