|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
ObjectEnum<ConnectionProperty>
org.opennfc.ConnectionProperty
public enum ConnectionProperty
The connection properties are constant values describing the features of a connection.
A connection property may be:
The card properties are used to register a card detection event handler with
CardListenerRegistry.registerCardListener().
When a card connection is received,
Connection.getProperties() or
Connection.checkProperty() returns or checks the properties of the card.
The method CardListenerRegistry.checkConnectionProperty() checks if a property
is supported by the NFC Controller for the card detection functions.
The connection properties are also used in the card emulation API and in the Virtual Tag API.
They are needed to specify the type of card emulation requested.
The method CardEmulationRegistry.checkConnectionProperty()
checks if a property is supported by the NFC Controller for the card emulation functions.
| Enum Constant Summary | |
|---|---|
BPRIME
Communicate with protocol B Prime. |
|
ICLASS_16K
Identify a iClass 16K tag. |
|
ICLASS_2K
Identify a iClass 2K tag. |
|
ISO_14443_3_A
Communicate with protocol ISO 14443 part 3 type A. |
|
ISO_14443_3_B
Communicate with protocol ISO 14443 part 3 type B. |
|
ISO_14443_4_A
Communicate with protocol ISO 14443 part 4 type A. |
|
ISO_14443_4_B
Communicate with protocol ISO 14443 part 4 type B |
|
ISO_15693_2
Communicate with protocol ISO 15693 part 2. |
|
ISO_15693_3
Communicate with protocol ISO 15693 part 3. |
|
ISO_7816_4
Communicate with protocol ISO 7816 part 4. |
|
KOVIO
Identify a Kovio tag |
|
MIFARE_1K
Identify a MIFARE 1K tag. |
|
MIFARE_4K
Identify a MIFARE 4K tag. |
|
MIFARE_DESFIRE_D40
Identify a MIFARE DESFire D40. |
|
MIFARE_DESFIRE_EV1_2K
Identify a MIFARE DESFire EV1 2K. |
|
MIFARE_DESFIRE_EV1_4K
Identify a MIFARE DESFire EV1 4K. |
|
MIFARE_DESFIRE_EV1_8K
Identify a MIFARE DESFire EV1 8K. |
|
MIFARE_MINI
Identify a MIFARE Mini tag. |
|
MIFARE_PLUS_S_2K
Identify a MIFARE Plus S 2K. |
|
MIFARE_PLUS_S_4K
Identify a MIFARE Plus S 4K. |
|
MIFARE_PLUS_X_2K
Identify a MIFARE Plus X 2K. |
|
MIFARE_PLUS_X_4K
Identify a MIFARE Plus X 4K. |
|
MIFARE_UL
Identify a MIFARE UL tag. |
|
MIFARE_UL_C
Identify a MIFARE UL C tag. |
|
MY_D_MOVE
Identify a my-d Move tag |
|
MY_D_NFC
Identify a my-d NFC tag |
|
NFC_TAG_TYPE_1
Identify a NFC Type 1 tag. |
|
NFC_TAG_TYPE_2
Identify a NFC Type 2 tag. |
|
NFC_TAG_TYPE_3
Identify a NFC Type 3 tag. |
|
NFC_TAG_TYPE_4_A
Identify a NFC Type 4-A tag. |
|
NFC_TAG_TYPE_4_B
Identify a NFC Type 4-B tag. |
|
NFC_TAG_TYPE_5
Identify a NFC Type 5 tag. |
|
NFC_TAG_TYPE_6
Identify a NFC Type 6 tag. |
|
NXP_ICODE
Identify a NXP ICode tag. |
|
PICOPASS_2K
Identify a picopass 2K tag. |
|
PICOPASS_32K
Identify a picopass 32K tag. |
|
ST_LRI_2K
Identify a ST LRI 2K tag. |
|
ST_LRI_512
Identify a ST LRI 512 tag. |
|
TI_TAGIT
Identify a Texas Instruments Tag It. |
|
TYPE_FELICA
Identify a FeliCa card. |
|
TYPE_JEWEL
Identify a Jewel tag. |
|
TYPE_TOPAZ_120
Identify a Topaz 120 tag. |
|
TYPE_TOPAZ_512
Identify a Topaz 512 tag. |
|
TYPE_TYPE_1_CHIP
Identify any type 1 chip-based card including card compliant with NFC Type 1 tags. |
|
| Method Summary | |
|---|---|
static ConnectionProperty |
getConnectionProperty(int identifier)
Returns the connection property corresponding to an identifier. |
int |
getValue()
Returns the property value. |
static ConnectionProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConnectionProperty[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConnectionProperty ISO_14443_3_A
public static final ConnectionProperty ISO_14443_4_A
public static final ConnectionProperty ISO_14443_3_B
public static final ConnectionProperty ISO_14443_4_B
public static final ConnectionProperty ISO_15693_3
public static final ConnectionProperty ISO_15693_2
public static final ConnectionProperty ISO_7816_4
public static final ConnectionProperty BPRIME
public static final ConnectionProperty NFC_TAG_TYPE_1
public static final ConnectionProperty NFC_TAG_TYPE_2
public static final ConnectionProperty NFC_TAG_TYPE_3
public static final ConnectionProperty NFC_TAG_TYPE_4_A
public static final ConnectionProperty NFC_TAG_TYPE_4_B
public static final ConnectionProperty NFC_TAG_TYPE_5
public static final ConnectionProperty NFC_TAG_TYPE_6
public static final ConnectionProperty TYPE_TYPE_1_CHIP
public static final ConnectionProperty TYPE_JEWEL
public static final ConnectionProperty TYPE_TOPAZ_120
public static final ConnectionProperty TYPE_TOPAZ_512
public static final ConnectionProperty TYPE_FELICA
public static final ConnectionProperty PICOPASS_2K
public static final ConnectionProperty PICOPASS_32K
public static final ConnectionProperty ICLASS_2K
public static final ConnectionProperty ICLASS_16K
public static final ConnectionProperty MIFARE_UL
public static final ConnectionProperty MIFARE_UL_C
public static final ConnectionProperty MIFARE_MINI
public static final ConnectionProperty MIFARE_1K
public static final ConnectionProperty MIFARE_4K
public static final ConnectionProperty MIFARE_DESFIRE_D40
public static final ConnectionProperty MIFARE_DESFIRE_EV1_2K
public static final ConnectionProperty MIFARE_DESFIRE_EV1_4K
public static final ConnectionProperty MIFARE_DESFIRE_EV1_8K
public static final ConnectionProperty MIFARE_PLUS_X_2K
public static final ConnectionProperty MIFARE_PLUS_X_4K
public static final ConnectionProperty MIFARE_PLUS_S_2K
public static final ConnectionProperty MIFARE_PLUS_S_4K
public static final ConnectionProperty TI_TAGIT
public static final ConnectionProperty ST_LRI_512
public static final ConnectionProperty ST_LRI_2K
public static final ConnectionProperty NXP_ICODE
public static final ConnectionProperty MY_D_MOVE
public static final ConnectionProperty MY_D_NFC
public static final ConnectionProperty KOVIO
| Method Detail |
|---|
public static ConnectionProperty[] values()
for (ConnectionProperty c : ConnectionProperty.values()) System.out.println(c);
public static ConnectionProperty valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
public static ConnectionProperty getConnectionProperty(int identifier)
identifier - the property identifier.
|
Copyright © 2010-2011 Inside Secure |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||