SwiftextensionHomeDataModel

extension MTRDevice

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 12

  1. funcadd(MTRDeviceDelegate) -> ()
  2. funcclientData(key: HomeDataModel.MatterMetadataKey, endpointID: UInt16?) -> Any?
  3. funccluster<A where A: MTRCluster>(of: A.Type, endpointID: UInt16) -> A?
  4. funcgetAttributeData(path: HomeDataModel.ClusterIDProviding, attributeID: UInt32) -> [String : Any]?
  5. funcperform(commandGroups: [[HomeDataModel.MatterCommand]], on: UInt16) async throws -> [[String : Sendable]]
  6. funcperformCommand(path: HomeDataModel.ClusterPath, commandID: UInt32, commandFields: [String : Any]?, expectedValues: [[String : Any]]?) async throws -> [[String : Sendable]]?
  7. funcreadValue(for: UInt32, in: HomeDataModel.ClusterIDProviding) -> Sendable?
  8. funcreadValues(for: [HomeDataModel.MatterAttributeRequestPath]) -> HomeDataModel.AttributeValueSet
  9. funcsetClientData(key: HomeDataModel.MatterMetadataKey, endpointID: UInt16?, value: Any?) -> ()
  10. funcwait(forAttributeValues: [MTRAttributePath : [String : Sendable]], timeout: Double) async throws -> ()
  11. funcwriteAttribute(path: HomeDataModel.ClusterPath, attributeID: UInt32, value: Any) -> ()
  12. varvar identifier: UInt64 { get }
extension __C.MTRDevice {
    var identifier: Swift.UInt64 {
        get
    }

    func getAttributeData(path: any HomeDataModel.ClusterIDProviding, attributeID: Swift.UInt32) -> [Swift.String : Any]?
    func clientData(key: HomeDataModel.MatterMetadataKey, endpointID: Swift.UInt16?) -> Any?
    func setClientData(key: HomeDataModel.MatterMetadataKey, endpointID: Swift.UInt16?, value: Any?)
    func readValues(for: [HomeDataModel.MatterAttributeRequestPath]) -> HomeDataModel.AttributeValueSet
    func performCommand(path: HomeDataModel.ClusterPath, commandID: Swift.UInt32, commandFields: [Swift.String : Any]?, expectedValues: [[Swift.String : Any]]?) async throws -> [[Swift.String : any Swift.Sendable]]?
    func writeAttribute(path: HomeDataModel.ClusterPath, attributeID: Swift.UInt32, value: Any)
    func add(_: any __C.MTRDeviceDelegate)
    func wait(forAttributeValues: [__C.MTRAttributePath : [Swift.String : any Swift.Sendable]], timeout: Swift.Double) async throws
    func cluster<A>(of: A.Type, endpointID: Swift.UInt16) -> A? where A: __C.MTRCluster
    func perform(commandGroups: [[any HomeDataModel.MatterCommand]], on: Swift.UInt16) async throws -> [[Swift.String : any Swift.Sendable]]
    func readValue(for: Swift.UInt32, in: any HomeDataModel.ClusterIDProviding) -> (any Swift.Sendable)?
}