public static enum MifareSam.SamMode extends Enum<MifareSam.SamMode>
| Enum Constant and Description |
|---|
AV1
MIFARE SAM is in AV1 mode
|
AV2
MIFARE SAM is in AV2 mode
|
UNDEFINED
MIFARE SAM is in invalid mode
|
| Modifier and Type | Method and Description |
|---|---|
static MifareSam.SamMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MifareSam.SamMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MifareSam.SamMode AV1
public static final MifareSam.SamMode AV2
public static final MifareSam.SamMode UNDEFINED
public static MifareSam.SamMode[] values()
for (MifareSam.SamMode c : MifareSam.SamMode.values()) System.out.println(c);
public static MifareSam.SamMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null