public enum CardShareMode extends Enum<CardShareMode>
PcscLiteLibrary#sCardConnect
Enum Constant and Description |
---|
SCARD_SHARE_DIRECT
This application is allocating the reader for its private use, and will
be controlling it directly.
|
SCARD_SHARE_EXCLUSIVE
This application is not willing to share the card with other
applications.
|
SCARD_SHARE_SHARED
This application is willing to share the card with other applications.
|
Modifier and Type | Method and Description |
---|---|
static CardShareMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CardShareMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardShareMode SCARD_SHARE_SHARED
public static final CardShareMode SCARD_SHARE_EXCLUSIVE
public static final CardShareMode SCARD_SHARE_DIRECT
public static CardShareMode[] values()
for (CardShareMode c : CardShareMode.values()) System.out.println(c);
public static CardShareMode 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 nullCopyright © 2011-2013. All Rights Reserved.