ch.aplu.nxt
Interface RFIDListener


public interface RFIDListener

Class with declaration of callback methods for the rfid sensor.


Method Summary
 void detected(SensorPort port, long id)
          Called when the RFID sensor detects a new transponder.
 

Method Detail

detected

void detected(SensorPort port,
              long id)
Called when the RFID sensor detects a new transponder. This happens when the transponder id has changed since the last detection or it the same transponder was removed and detected again.

Parameters:
port - the port where the sensor is plugged in
id - the id of the detected transponder