Enum BarcodeFormat
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum BarcodeFormat extends Enum<BarcodeFormat>
Enumerates barcode formats.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BarcodeFormat.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description 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 Summary
Modifier and Type Method Description final String
toJson()
final BarcodeFormat
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<BarcodeFormat>
values()
Returns an array containing the constants of this enum type, in the order they're declared.
-
-
-
Method Detail
-
valueOf
final BarcodeFormat valueOf(String value)
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.)
-
values
final Array<BarcodeFormat> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-