Interface ScannerInterface

All Superinterfaces:
JposBaseInterface
All Known Implementing Classes:
Scanner, ScannerProperties

public interface ScannerInterface extends JposBaseInterface
Interface for methods that implement property setter and method calls for the Scanner device category. For details about properties, methods and method parameters, see UPOS specification, chapter Scanner (Bar Code Reader). Further details about error handling can be found in introduction - Device Behavior Models - Errors.
  • Method Details

    • decodeData

      void decodeData(boolean flag) throws jpos.JposException
      Final part of setting DecodeData. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device has not been closed,
      • internal property AllowAlwaysSetProperties is true or flag equals the previous value of DecodeData.
      Parameters:
      flag - New DecodeData value
      Throws:
      jpos.JposException - If an error occurs