Public Member Functions | |
void | onCommand (RemoteConnector connector, MenuCommand command) |
This is the low level, communication listener interface that you implement in order to know when commands have been received from the remote device. Normally, this is used by the RemoteMenuController and not something a user would directly subscribe to (unless you are adding custom messages to the protocol).
void com.thecoderscorner.menu.remote.RemoteConnectorListener.onCommand | ( | RemoteConnector | connector, |
MenuCommand | command | ||
) |
Sent by the connector when a message has been decoded.
connector | the connector that sent the message |
command | the command it decoded. |