Interface RfidTagListener<T extends RfidTag>
- All Known Implementing Classes:
FreestyleCartridgeScanner
public interface RfidTagListener<T extends RfidTag>
Listener for RFID scanner events.
- Version:
- 2023-10-14
-
Method Summary
Modifier and TypeMethodDescriptionvoidtagAdded(RfidPositionInfo<T> info, String scanType, T tag, int scanCount) Called when a new tag is first seen.voidtagRemoved(RfidPositionInfo<T> info, String scanType, T tag, int scanCount) Called when a tag is no longer seen.
-
Method Details
-
tagAdded
Called when a new tag is first seen.- Parameters:
info- information about the antenna positionscanType- the type of scan being performedtag- the tag that was addedscanCount- scan count number from the scanner
-
tagRemoved
Called when a tag is no longer seen.- Parameters:
info- information about the antenna positionscanType- the type of scan being performedtag- the tag that was removedscanCount- scan count number from the scanner
-