Enum BarcodeType
- java.lang.Object
-
- java.lang.Enum<BarcodeType>
-
- com.microblink.documentverification.entities.recognizers.blinkbarcode.BarcodeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BarcodeType>
public enum BarcodeType extends java.lang.Enum<BarcodeType>
Represents the type of scanned barcode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AztecAztec 2D barcode was scannedCode128Code 128 barcode was scannedCode39Code 39 barcode was scannedDataMatrixData Matrix 2D barcode was scannedEAN13EAN 13 barcode was scannedEAN8EAN 8 barcode was scannedITFITF barcode was scannedNoneNo barcode was scannedPDF417PDF417 2D barcode was scannedQRCodeQR code was scannedUPCAUPC A barcode was scannedUPCEUPC E barcode was scanned
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BarcodeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BarcodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final BarcodeType None
No barcode was scanned
-
QRCode
public static final BarcodeType QRCode
QR code was scanned
-
DataMatrix
public static final BarcodeType DataMatrix
Data Matrix 2D barcode was scanned
-
UPCE
public static final BarcodeType UPCE
UPC E barcode was scanned
-
UPCA
public static final BarcodeType UPCA
UPC A barcode was scanned
-
EAN8
public static final BarcodeType EAN8
EAN 8 barcode was scanned
-
EAN13
public static final BarcodeType EAN13
EAN 13 barcode was scanned
-
Code128
public static final BarcodeType Code128
Code 128 barcode was scanned
-
Code39
public static final BarcodeType Code39
Code 39 barcode was scanned
-
ITF
public static final BarcodeType ITF
ITF barcode was scanned
-
Aztec
public static final BarcodeType Aztec
Aztec 2D barcode was scanned
-
PDF417
public static final BarcodeType PDF417
PDF417 2D barcode was scanned
-
-
Method Detail
-
values
public static BarcodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BarcodeType c : BarcodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BarcodeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-