public static enum PosCapability.ReadingCapability extends java.lang.Enum<PosCapability.ReadingCapability> 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 PosCapability.ReadingCapability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PosCapability.ReadingCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosCapability.ReadingCapability UNKNOWN
public static final PosCapability.ReadingCapability CONTACTLESS
public static final PosCapability.ReadingCapability PHYSICAL
public static final PosCapability.ReadingCapability BARCODE
public static final PosCapability.ReadingCapability MAGNETIC_STRIPE
public static final PosCapability.ReadingCapability ICC
public static final PosCapability.ReadingCapability DATA_ON_FILE
public static final PosCapability.ReadingCapability ICC_FAILED
public static final PosCapability.ReadingCapability MAGNETIC_STRIPE_FAILED
public static final PosCapability.ReadingCapability FALLBACK
public static final PosCapability.ReadingCapability TRACK1_PRESENT
public static final PosCapability.ReadingCapability TRACK2_PRESENT
public static PosCapability.ReadingCapability[] values()
for (PosCapability.ReadingCapability c : PosCapability.ReadingCapability.values()) System.out.println(c);
public static PosCapability.ReadingCapability 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<PosCapability.ReadingCapability>
public int getOffset()
getOffset
in interface PosFlags.Flag