Enum Class BarcodeType
- All Implemented Interfaces:
Serializable
,Comparable<BarcodeType>
,Constable
Represents the type of scanned barcode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAztec 2D barcode was scannedCode 128 barcode was scannedCode 39 barcode was scannedData Matrix 2D barcode was scannedEAN 13 barcode was scannedEAN 8 barcode was scannedITF barcode was scannedNo barcode was scannedPDF417 2D barcode was scannedQR code was scannedUPC A barcode was scannedUPC E barcode was scanned -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeType
Returns the enum constant of this class with the specified name.static BarcodeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
No barcode was scanned -
QRCode
QR code was scanned -
DataMatrix
Data Matrix 2D barcode was scanned -
UPCE
UPC E barcode was scanned -
UPCA
UPC A barcode was scanned -
EAN8
EAN 8 barcode was scanned -
EAN13
EAN 13 barcode was scanned -
Code128
Code 128 barcode was scanned -
Code39
Code 39 barcode was scanned -
ITF
ITF barcode was scanned -
Aztec
Aztec 2D barcode was scanned -
PDF417
PDF417 2D barcode was scanned
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-