public interface RemoteListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(SensorPort port,
int command)
Called when a button action is detected.
|
void actionPerformed(SensorPort port, int command)
port
- the port where the sensor is plugged incommand
- the command ID