public static enum PcscReader.IsoProtocol extends java.lang.Enum<PcscReader.IsoProtocol>
| Enum Constant and Description |
|---|
ANY
to connect using any available protocol
|
T0
to connect using T=0 protocol
|
T1
to connect using T=1 protocol
|
TCL
to connect using T=CL protocol
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Gets the string expected by smartcard.io / PC/SC to set the card transmission protocol.
|
static PcscReader.IsoProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PcscReader.IsoProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcscReader.IsoProtocol ANY
public static final PcscReader.IsoProtocol T0
public static final PcscReader.IsoProtocol T1
public static final PcscReader.IsoProtocol TCL
public static PcscReader.IsoProtocol[] values()
for (PcscReader.IsoProtocol c : PcscReader.IsoProtocol.values()) System.out.println(c);
public static PcscReader.IsoProtocol 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 java.lang.String getValue()