|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.contactless.TargetType
public class TargetType
This class collects the contactless target types supported by the Contactless Communication API. New target types can be added to this class only in a new version of this specification. The application developers must take into account that the list of target types may be extended in the future.
The NFC Forum data formatting (NDEF) gives an application level
categorization for the target types. Therefore each NDEF_TAG
is also categorized as either RFID_TAG
or
ISO14443_CARD
on the physical level. Information about the
connections that can be opened to the physical target is provided in the
TargetProperties.getConnectionNames()
method.
Field Summary | |
---|---|
static TargetType |
ISO14443_CARD
ISO14443-4 compliant smart card accessed with APDU commands defined in ISO7816-4. |
static TargetType |
NDEF_TAG
A tag that contains NFC Forum formatted data. |
static TargetType |
RFID_TAG
General RFID tag containing data in a proprietary format. |
static TargetType |
VISUAL_TAG
General visual tag. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TargetType ISO14443_CARD
ISO14443-4 compliant smart card accessed with APDU commands defined in
ISO7816-4. Communication with this target may be done
using
ISO14443Connection
.
public static final TargetType NDEF_TAG
A tag that contains NFC Forum formatted data. NFC Forum specifies a list
of mandatory physical tags and they all must
be detected as NDEF_TAG
by the implementation of this API.
If the physical tag type is other than one of the mandatory tag types
defined by the NFC Forum, and the API implementation support the NDEF
formatted data for that physical tag type, it must
be detected as NDEF_TAG
.
NDEF formatted data may be accessed with
NDEFTagConnection
.
public static final TargetType RFID_TAG
General RFID tag containing data in a proprietary format. Communication
with this target may be done using
PlainTagConnection
or one of the possible target-specific classes provided by the API
implementation.
public static final TargetType VISUAL_TAG
General visual tag. Communication with this target may be done using
VisualTagConnection
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |