tcMenuJavaAPI
Public Member Functions | List of all members
com.thecoderscorner.menu.remote.RemoteConnectorListener Interface Reference

Public Member Functions

void onCommand (RemoteConnector connector, MenuCommand command)
 

Detailed Description

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).

Member Function Documentation

◆ onCommand()

void com.thecoderscorner.menu.remote.RemoteConnectorListener.onCommand ( RemoteConnector  connector,
MenuCommand  command 
)

Sent by the connector when a message has been decoded.

Parameters
connectorthe connector that sent the message
commandthe command it decoded.

The documentation for this interface was generated from the following file: