Enum Class BarcodeAccumulationMethod

java.lang.Object
java.lang.Enum<BarcodeAccumulationMethod>
io.scanbot.sdk.barcode.BarcodeAccumulationMethod
All Implemented Interfaces:
Serializable, Comparable<BarcodeAccumulationMethod>, Constable

public enum BarcodeAccumulationMethod extends Enum<BarcodeAccumulationMethod>
The method how to display barcodes from previous frames.
  • Enum Constant Details

    • LAST_VISIBLE

      public static final BarcodeAccumulationMethod LAST_VISIBLE
      The quad of a barcode is simply given as the last quad when it was detected.
    • INTERPOLATE_BY_CAMERA

      public static final BarcodeAccumulationMethod INTERPOLATE_BY_CAMERA
      The quad of barcode is interpolated by the camera movement. This option is recommended when the camera is moving, but the scanned object is not.
  • Method Details

    • values

      public static BarcodeAccumulationMethod[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BarcodeAccumulationMethod valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null