11.07.2015 Views

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

Contactless Communication API - Oracle Software Delivery Cloud

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TargetTypeTargetType — class in package javax.microedition.contactlesspublic class TargetType extends java.lang.ObjectField summarystatic TargetTypestatic TargetTypestatic TargetTypestatic TargetTypeISO14443_CARDNDEF_TAGRFID_TAGVISUAL_TAGInheritanceDescriptionFieldsISO14443_CARDNDEF_TAGRFID_TAGjava.lang.Object → TargetTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitThis class collects the contactless target types supported by the <strong>Contactless</strong> <strong>Communication</strong> <strong>API</strong> . New target types can beadded to this class only in a new version of this specification. The application developers must take into account that thelist 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 eachNDEF_TAG is also categorized as either RFID_TAG or ISO14443_CARD on the physical level. Information about theconnections that can be opened to the physical target is provided in the TargetProperties.getConnectionNames() method.public static final TargetType ISO14443_CARDISO14443-4 compliant smart card accessed with APDU commands defined in ISO7816-4. <strong>Communication</strong> with this targetmay be done using ISO14443Connection .public static final TargetType NDEF_TAGA tag that contains NFC Forum formatted data. NFC Forum specifies a list of mandatory physical tags and they all must bedetected as NDEF_TAG by the implementation of this <strong>API</strong>. If the physical tag type is other than one of the mandatory tagtypes defined by the NFC Forum, and the <strong>API</strong> 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_TAGGeneral RFID tag containing data in a proprietary format. <strong>Communication</strong> with this target may be done usingPlainTagConnection or one of the possible target-specific classes provided by the <strong>API</strong> implementation.23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!