android.device.scanner.configuration
Enum Symbology

java.lang.Object
  extended by java.lang.Enum<Symbology>
      extended by android.device.scanner.configuration.Symbology
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Symbology>

public enum Symbology
extends java.lang.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
 

Enum Constant Detail

NONE

public static final Symbology NONE
No decoded data.

CODE39

public static final Symbology CODE39
Bar codes of type Code39.

DISCRETE25

public static final Symbology DISCRETE25
Bar codes of type Discrete 2 of 5.

MATRIX25

public static final Symbology MATRIX25
Bar codes of type Matrix 2 of 5.

INTERLEAVED25

public static final Symbology INTERLEAVED25
Bar codes of type Interleaved 2 of 5.

CODABAR

public static final Symbology CODABAR
Bar codes of type Codabar.

CODE93

public static final Symbology CODE93
Bar codes of type Code93.

CODE128

public static final Symbology CODE128
Bar codes of type Code128.

UPCA

public static final Symbology UPCA
Bar codes of type UPC-A.

UPCE

public static final Symbology UPCE
Bar codes of type UPC-E.

EAN13

public static final Symbology EAN13
Bar codes of type EAN-13.

EAN8

public static final Symbology EAN8
Bar codes of type EAN-8.

MSI

public static final Symbology MSI
Bar codes of type MSI.

GS1_14

public static final Symbology GS1_14
Bar codes of type GS1 Databar-14.

GS1_LIMIT

public static final Symbology GS1_LIMIT
Bar codes of type GS1 Databar Limited.

GS1_EXP

public static final Symbology GS1_EXP
Bar codes of type GS1 Databar Expanded.

PDF417

public static final Symbology PDF417
Bar codes of type PDF-417.

DATAMATRIX

public static final Symbology DATAMATRIX
Bar codes of type Datamatrix.

MAXICODE

public static final Symbology MAXICODE
Bar codes of type Maxicode.

TRIOPTIC

public static final Symbology TRIOPTIC
Bar codes of type Trioptic.

CODE32

public static final Symbology CODE32
Bar codes of type Code32.

MICROPDF417

public static final Symbology MICROPDF417
Bar codes of type Micropdf417.

QRCODE

public static final Symbology QRCODE
Bar codes of type QR.

AZTEC

public static final Symbology AZTEC
Bar codes of type Aztec.

POSTAL_PLANET

public static final Symbology POSTAL_PLANET
Bar codes of type POSTAL_PLANET.

POSTAL_POSTNET

public static final Symbology POSTAL_POSTNET
Bar codes of type POSTAL_POSTNET.

POSTAL_4STATE

public static final Symbology POSTAL_4STATE
Bar codes of type POSTAL_4STATE.

POSTAL_UPUFICS

public static final Symbology POSTAL_UPUFICS
Bar codes of type POSTAL_UPUFICS.

POSTAL_ROYALMAIL

public static final Symbology POSTAL_ROYALMAIL
Bar codes of type POSTAL_ROYALMAIL.

POSTAL_AUSTRALIAN

public static final Symbology POSTAL_AUSTRALIAN
Bar codes of type POSTAL_AUSTRALIAN.

POSTAL_KIX

public static final Symbology POSTAL_KIX
Bar codes of type POSTAL_KIX.

POSTAL_JAPAN

public static final Symbology POSTAL_JAPAN
Bar codes of type POSTAL_JAPAN.

GS1_128

public static final Symbology GS1_128
Bar codes of type GS1-128.

COMPOSITE_CC_C

public static final Symbology COMPOSITE_CC_C
Composite bar codes of type CC-C.

COMPOSITE_CC_AB

public static final Symbology COMPOSITE_CC_AB
Composite bar codes of type CC-A/B.

CHINESE25

public static final Symbology CHINESE25
Bar codes of type Chinese 2 of 5.

CODE11

public static final Symbology CODE11
Bar codes of type Code11.

UPCE1

public static final Symbology UPCE1
Bar codes of type UPC-E1.
Method Detail

values

public static Symbology[] values()
Return 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:

Parameters:
none
Returns:
an array containing the constants of this enum type, in the order they are declared.
Example:
for (Symbology c : Symbology.values())
    System.out.println(c);

valueOf

public static Symbology valueOf(java.lang.String name)
Return 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 name.
java.lang.NullPointerException - if the argument is null.

fromOrdinal

public static Symbology fromOrdinal(int n)
From the ordered enum to Symobology.

Parameters:
n - The integer value corresponding to the symbol.
Returns:
Symbology the corresponding one.

fromInt

public static Symbology fromInt(int n)
From an integer value, retrieves the corresponding Symbology.

Parameters:
n - The integer value corresponding to the Symbology.
Returns:
Symbology the corresponding Symbology.

toInt

public int toInt()
Convert the Symbology to its corresponding integer value.

Parameters:
none
Returns:
int representing a Symbology value.