Package io.scanbot.sdk.barcode
Enum Class BarcodeFormat
- All Implemented Interfaces:
Serializable,Comparable<BarcodeFormat>,Constable
Enumerates barcode formats.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAustralia Post Four-State Customer Code.Aztec (2D).CODABAR (1D).Code 11 (1D).Code 128 (1D).CODE 25 (1D).Code 32 (Italian Pharmacode) (1D).Code 39 (1D).Code 93 (1D).Data Matrix (2D).GS1 DataBar-14 (formerly RSS-14) (1D).GS1 DataBar Expanded (formerly RSS Expanded) (1D).GS1 DataBar Limited.EAN-13 (1D).EAN-8 (1D).GS1 COMPOSITE (combined linear and 2D).IATA 2 of 5 (1D).INDUSTRIAL 2 of 5 (1D).ITF (Interleaved Two of Five) (1D).Japan Post Four-State Barcode.MaxiCode (2D).Micro PDF417 (2D).Micro QR Code (2D).MSI PLESSEY.Used as a return value if no valid barcode has been detected.PDF417 (2D).Pharmacode, a.k.a.Two-Track Pharmacode, a.k.a.PZN7, legacy PZN (Pharmazentralnummer), invalid since 01.01.2020 (1D).PZN8, a.k.a.QR Code (2D).Rectangular Micro QR Code (2D).Royal Mail Four-State Customer Code, a.k.a.Royal TNT Post Four-State Barcode, a.k.a.UPC-A (1D).UPC-E (1D).USPS Intelligent Mail, a.k.a. -
Method Summary
Modifier and TypeMethodDescriptionstatic BarcodeFormatReturns the enum constant of this class with the specified name.static BarcodeFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Used as a return value if no valid barcode has been detected. -
AZTEC
Aztec (2D). -
CODABAR
CODABAR (1D). -
CODE_39
Code 39 (1D). -
CODE_93
Code 93 (1D). -
CODE_128
Code 128 (1D). -
DATA_MATRIX
Data Matrix (2D). -
EAN_8
EAN-8 (1D). -
EAN_13
EAN-13 (1D). -
ITF
ITF (Interleaved Two of Five) (1D). -
MAXI_CODE
MaxiCode (2D). -
PDF_417
PDF417 (2D). -
QR_CODE
QR Code (2D). -
DATABAR
GS1 DataBar-14 (formerly RSS-14) (1D). -
DATABAR_EXPANDED
GS1 DataBar Expanded (formerly RSS Expanded) (1D). -
UPC_A
UPC-A (1D). -
UPC_E
UPC-E (1D). -
MSI_PLESSEY
MSI PLESSEY. -
IATA_2_OF_5
IATA 2 of 5 (1D). -
INDUSTRIAL_2_OF_5
INDUSTRIAL 2 of 5 (1D). -
CODE_25
CODE 25 (1D). -
MICRO_QR_CODE
Micro QR Code (2D). -
USPS_INTELLIGENT_MAIL
USPS Intelligent Mail, a.k.a. USPS OneCode, USPS-STD-11. -
ROYAL_MAIL
Royal Mail Four-State Customer Code, a.k.a. RM4SCC, CBC, BPO 4 State Code. -
JAPAN_POST
Japan Post Four-State Barcode. -
ROYAL_TNT_POST
Royal TNT Post Four-State Barcode, a.k.a. KIX, Klant IndeX. -
AUSTRALIA_POST
Australia Post Four-State Customer Code. -
DATABAR_LIMITED
GS1 DataBar Limited. -
MICRO_PDF_417
Micro PDF417 (2D). -
GS1_COMPOSITE
GS1 COMPOSITE (combined linear and 2D). -
RMQR_CODE
Rectangular Micro QR Code (2D). -
CODE_11
Code 11 (1D). -
CODE_32
Code 32 (Italian Pharmacode) (1D). -
PHARMA_CODE
Pharmacode, a.k.a. One-Track Pharmacode, Pharmaceutical Binary Code (1D). -
PHARMA_CODE_TWO_TRACK
Two-Track Pharmacode, a.k.a. Pharmaceutical Binary Code. -
PZN_7
PZN7, legacy PZN (Pharmazentralnummer), invalid since 01.01.2020 (1D). -
PZN_8
PZN8, a.k.a. PZN, Pharmazentralnummer, German Pharmaceutical Central Number (1D).
-
-
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
-