SwiftstructHomeDataModel
MatterCommandFactory
struct HomeDataModel.MatterCommandFactory
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 2
- func
static matterCommand(clusterKind: HomeDataModel.ClusterKind, commandID: UInt32, expectedValues: [[String : Sendable]], commandFields: HomeDataModel.MatterCommandFields?) -> HomeDataModel.MatterCommand? - func
static template(for: HMMatterCommand, device: HomeDataModel.StaticMatterDevice) -> HomeDataModel.MatterCommandTemplate?
Header
struct MatterCommandFactory { static func matterCommand(clusterKind: HomeDataModel.ClusterKind, commandID: Swift.UInt32, expectedValues: [[Swift.String : any Swift.Sendable]], commandFields: HomeDataModel.MatterCommandFields?) -> (any HomeDataModel.MatterCommand)? static func template(for: __C.HMMatterCommand, device: HomeDataModel.StaticMatterDevice) -> (any HomeDataModel.MatterCommandTemplate)? }