protocol Command : SendableBasic interface for Trait commands.
-
Identifier for this command.
The Command ID is appended onto the Trait ID of the trait this command belongs to.
Declaration
Swift
static var identifier: ScopedCommandID { get } -
Default implementationrequestField(id:)
Returns the field corresponding to the given command request field ID.
Default Implementation
Returns the field corresponding to the given command request field ID.
Declaration
Swift
static func requestField(id: UInt32) -> (any Field)?