public static enum PosDataCode.ReadingMethod extends java.lang.Enum<PosDataCode.ReadingMethod> implements PosFlags.Flag
Enum Constant and Description |
---|
BARCODE |
CONTACTLESS |
DATA_ON_FILE |
FALLBACK |
ICC |
ICC_FAILED |
MAGNETIC_STRIPE |
MAGNETIC_STRIPE_FAILED |
PHYSICAL |
TRACK1_PRESENT |
TRACK2_PRESENT |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
static int |
OFFSET |
Modifier and Type | Method and Description |
---|---|
int |
getOffset() |
int |
intValue() |
java.lang.String |
toString() |
static PosDataCode.ReadingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PosDataCode.ReadingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosDataCode.ReadingMethod UNKNOWN
public static final PosDataCode.ReadingMethod CONTACTLESS
public static final PosDataCode.ReadingMethod PHYSICAL
public static final PosDataCode.ReadingMethod BARCODE
public static final PosDataCode.ReadingMethod MAGNETIC_STRIPE
public static final PosDataCode.ReadingMethod ICC
public static final PosDataCode.ReadingMethod DATA_ON_FILE
public static final PosDataCode.ReadingMethod ICC_FAILED
public static final PosDataCode.ReadingMethod MAGNETIC_STRIPE_FAILED
public static final PosDataCode.ReadingMethod FALLBACK
public static final PosDataCode.ReadingMethod TRACK1_PRESENT
public static final PosDataCode.ReadingMethod TRACK2_PRESENT
public static PosDataCode.ReadingMethod[] values()
for (PosDataCode.ReadingMethod c : PosDataCode.ReadingMethod.values()) System.out.println(c);
public static PosDataCode.ReadingMethod 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 namejava.lang.NullPointerException
- if the argument is nullpublic int intValue()
intValue
in interface PosFlags.Flag
public java.lang.String toString()
toString
in class java.lang.Enum<PosDataCode.ReadingMethod>
public int getOffset()
getOffset
in interface PosFlags.Flag