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 Type
    Method
    Description
    void
    tagAdded(RfidPositionInfo<T> info, String scanType, T tag, int scanCount)
    Called when a new tag is first seen.
    void
    tagRemoved(RfidPositionInfo<T> info, String scanType, T tag, int scanCount)
    Called when a tag is no longer seen.
  • Method Details

    • tagAdded

      void tagAdded(RfidPositionInfo<T> info, String scanType, T tag, int scanCount)
      Called when a new tag is first seen.
      Parameters:
      info - information about the antenna position
      scanType - the type of scan being performed
      tag - the tag that was added
      scanCount - scan count number from the scanner
    • tagRemoved

      void tagRemoved(RfidPositionInfo<T> info, String scanType, T tag, int scanCount)
      Called when a tag is no longer seen.
      Parameters:
      info - information about the antenna position
      scanType - the type of scan being performed
      tag - the tag that was removed
      scanCount - scan count number from the scanner