struct BatchCommandRequestInfoextension BatchCommandRequestInfo : SendableA structure that holds all the necessary parameters to send a command.
-
The ID of the object being operated on, usually a component ID.
Declaration
Swift
let objectID: String -
The command ID identifying action being performed.
Declaration
Swift
let commandID: ScopedCommandID -
The request to send. It can be nil, in which case the command doesn’t have a payload.
For example, commands like
on(),off()andtoggle()would have a nil request; andDoorLock.getUser(...)would have a non-nil request.Declaration
Swift
let request: (any CommandRequest)? -
Whether to use timed interaction for this command.
Declaration
Swift
let useTimedInteraction: Bool