SwiftextensionHomeDataModel
extension MTRDevice: HomeDataModel.SnapshotConvertable
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classMTRDevice
inherits{}
Members 12
- func
add(MTRDeviceDelegate) -> () - func
clientData(key: HomeDataModel.MatterMetadataKey, endpointID: UInt16?) -> Any? - func
cluster<A where A: MTRCluster>(of: A.Type, endpointID: UInt16) -> A? - func
getAttributeData(path: HomeDataModel.ClusterIDProviding, attributeID: UInt32) -> [String : Any]? - func
perform(commandGroups: [[HomeDataModel.MatterCommand]], on: UInt16) async throws -> [[String : Sendable]] - func
performCommand(path: HomeDataModel.ClusterPath, commandID: UInt32, commandFields: [String : Any]?, expectedValues: [[String : Any]]?) async throws -> [[String : Sendable]]? - func
readValue(for: UInt32, in: HomeDataModel.ClusterIDProviding) -> Sendable? - func
readValues(for: [HomeDataModel.MatterAttributeRequestPath]) -> HomeDataModel.AttributeValueSet - func
setClientData(key: HomeDataModel.MatterMetadataKey, endpointID: UInt16?, value: Any?) -> () - func
wait(forAttributeValues: [MTRAttributePath : [String : Sendable]], timeout: Double) async throws -> () - func
writeAttribute(path: HomeDataModel.ClusterPath, attributeID: UInt32, value: Any) -> () - var
var identifier: UInt64 { get }
Header
extension __C.MTRDevice: HomeDataModel.SnapshotConvertable {}