java.lang.Objectjava.lang.Enum<Symbology>
android.device.scanner.configuration.Symbology
public enum Symbology
Symbology
is an enumeration class defining constants for
different barcode types.
The type is one of:
CODE39 | Code39 |
DISCRETE25 | Discrete 2/5 |
MATRIX25 | Matrix 2/5 |
INTERLEAVED25 | Interleaved 2/5 |
CODABAR | Codabar |
CODE93 | Code93 |
CODE128 | Code128 |
UPCA | UPC-A |
UPCE | UPC-E |
UPCE1 | UPC-E1 |
EAN13 | EAN-13 |
EAN8 | EAN-8 |
MSI | MSI |
GS1_14 | GS1 Databar-14 |
GS1_LIMIT | GS1 Databar Limited |
GS1_EXP | GS1 Databar Expanded |
CODE49 | Code49 |
PDF417 | PDF-417 |
DATAMATRIX | Datamatrix |
MAXICODE | Maxicode |
TRIOPTIC | Trioptic |
CODE11 | Code11 |
CODE32 | Code32 |
MICROPDF417 | MicroPDF417 |
COMPOSITE | Composite Code |
QRCODE | QR Code |
AZTEC | Aztec Code |
CHINESE25 | Chinese 2/5. |
POSTAL | Postal Code |
POSTAL_PLANET | Postal Planet |
POSTAL_POSTNET | Postal Postnet |
POSTAL_4STATE | Postal USPS 4-State |
POSTAL_UPUFICS | Postal UPU FICS |
POSTAL_ROYALMAIL | Postal Royal Mail |
POSTAL_AUSTRALIAN | Australian Postal |
POSTAL_KIX | Kix Postal |
POSTAL_JAPAN | Japan Postal |
COMPOSITE_CC_AB | CC-A/B |
COMPOSITE_CC_C | CC-C |
GS1_128 | GS1-128 |
NONE | No decoded data |
Enum Constant Summary | |
---|---|
AZTEC
Bar codes of type Aztec. |
|
CHINESE25
Bar codes of type Chinese 2 of 5. |
|
CODABAR
Bar codes of type Codabar. |
|
CODE11
Bar codes of type Code11. |
|
CODE128
Bar codes of type Code128. |
|
CODE32
Bar codes of type Code32. |
|
CODE39
Bar codes of type Code39. |
|
CODE93
Bar codes of type Code93. |
|
COMPOSITE_CC_AB
Composite bar codes of type CC-A/B. |
|
COMPOSITE_CC_C
Composite bar codes of type CC-C. |
|
DATAMATRIX
Bar codes of type Datamatrix. |
|
DISCRETE25
Bar codes of type Discrete 2 of 5. |
|
EAN13
Bar codes of type EAN-13. |
|
EAN8
Bar codes of type EAN-8. |
|
GS1_128
Bar codes of type GS1-128. |
|
GS1_14
Bar codes of type GS1 Databar-14. |
|
GS1_EXP
Bar codes of type GS1 Databar Expanded. |
|
GS1_LIMIT
Bar codes of type GS1 Databar Limited. |
|
INTERLEAVED25
Bar codes of type Interleaved 2 of 5. |
|
MATRIX25
Bar codes of type Matrix 2 of 5. |
|
MAXICODE
Bar codes of type Maxicode. |
|
MICROPDF417
Bar codes of type Micropdf417. |
|
MSI
Bar codes of type MSI. |
|
NONE
No decoded data. |
|
PDF417
Bar codes of type PDF-417. |
|
POSTAL_4STATE
Bar codes of type POSTAL_4STATE. |
|
POSTAL_AUSTRALIAN
Bar codes of type POSTAL_AUSTRALIAN. |
|
POSTAL_JAPAN
Bar codes of type POSTAL_JAPAN. |
|
POSTAL_KIX
Bar codes of type POSTAL_KIX. |
|
POSTAL_PLANET
Bar codes of type POSTAL_PLANET. |
|
POSTAL_POSTNET
Bar codes of type POSTAL_POSTNET. |
|
POSTAL_ROYALMAIL
Bar codes of type POSTAL_ROYALMAIL. |
|
POSTAL_UPUFICS
Bar codes of type POSTAL_UPUFICS. |
|
QRCODE
Bar codes of type QR. |
|
TRIOPTIC
Bar codes of type Trioptic. |
|
UPCA
Bar codes of type UPC-A. |
|
UPCE
Bar codes of type UPC-E. |
|
UPCE1
Bar codes of type UPC-E1. |
Method Summary | |
---|---|
static Symbology |
fromInt(int n)
From an integer value, retrieves the corresponding Symbology. |
static Symbology |
fromOrdinal(int n)
From the ordered enum to Symobology. |
int |
toInt()
Convert the Symbology to its corresponding integer value. |
static Symbology |
valueOf(java.lang.String name)
Return the enum constant of this type with the specified name. |
static Symbology[] |
values()
Return an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait |
public static final Symbology NONE
public static final Symbology CODE39
public static final Symbology DISCRETE25
public static final Symbology MATRIX25
public static final Symbology INTERLEAVED25
public static final Symbology CODABAR
public static final Symbology CODE93
public static final Symbology CODE128
public static final Symbology UPCA
public static final Symbology UPCE
public static final Symbology EAN13
public static final Symbology EAN8
public static final Symbology MSI
public static final Symbology GS1_14
public static final Symbology GS1_LIMIT
public static final Symbology GS1_EXP
public static final Symbology PDF417
public static final Symbology DATAMATRIX
public static final Symbology MAXICODE
public static final Symbology TRIOPTIC
public static final Symbology CODE32
public static final Symbology MICROPDF417
public static final Symbology QRCODE
public static final Symbology AZTEC
public static final Symbology POSTAL_PLANET
public static final Symbology POSTAL_POSTNET
public static final Symbology POSTAL_4STATE
public static final Symbology POSTAL_UPUFICS
public static final Symbology POSTAL_ROYALMAIL
public static final Symbology POSTAL_AUSTRALIAN
public static final Symbology POSTAL_KIX
public static final Symbology POSTAL_JAPAN
public static final Symbology GS1_128
public static final Symbology COMPOSITE_CC_C
public static final Symbology COMPOSITE_CC_AB
public static final Symbology CHINESE25
public static final Symbology CODE11
public static final Symbology UPCE1
public static Symbology[] values()
for (Symbology c : Symbology.values())
System.out.println(c);
public static Symbology valueOf(java.lang.String name)
name
- The name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name.
java.lang.NullPointerException
- if the argument is null.public static Symbology fromOrdinal(int n)
n
- The integer value corresponding to the symbol.
public static Symbology fromInt(int n)
n
- The integer value corresponding to the Symbology.
public int toInt()