Multi command
Table of Contents
State
Multi states
Declaration
getMultiStates()
Discussion
The incoming states
Example
val state:MultiCommand.State
assertTrue(state.multiStates[0].value == CommandResolver.resolve("0d0020010600040100010004000501000200010400050100020201a2000b010008000001598938e788"))
// Doors capability - front left and rear right door is open while locks are unlocked, recorded at 10. January 2017 at 16:32:05 GMT
Multi commands
Declaration
getMultiCommands()
Discussion
The outgoing commands
Example
val state:MultiCommand.State
assertTrue(state.multiCommands[0].value == CommandResolver.resolve("0d00200106000401000101"))
// Lock inside door locks
Setters
Multi command command
Declaration
public MultiCommandCommand(List<Command> multiCommands)
Example
val multiCommandCommand = MultiCommand.MultiCommandCommand(arrayListOf(
CommandResolver.resolve("0d00200106000401000101"),
CommandResolver.resolve("0d00350103000401000101"))
)