---
title: "readAttributeTrustedTimeSource(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclustertimesynchronization/readattributetrustedtimesource(withclusterstatecache:endpoint:queue:completion:)"
---

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

## Declaration

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

```swift
class func readAttributeTrustedTimeSource(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRTimeSynchronizationClusterTrustedTimeSourceStruct
```
