public class NfcATag extends TagManager
This class is inherited from the TagManager abstract class, and provides methods to create
NfcATag objects and obtain the ATQA and SAK.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
EXTRA_ATQA |
Indicates the keyword used to obtain the ATQA of an NFC-A tag.
|
static String |
EXTRA_SAK |
Indicates the keyword used to obtain the SAK of an NFC-A tag.
|
ISO_DEP, MIFARE_CLASSIC, MIFARE_ULTRALIGHT, NDEF, NFC_A, NFC_B, NFC_F, NFC_V| 限定符和类型 | 方法 | 说明 |
|---|---|---|
byte[] |
getAtqa() |
Obtains the ATQA of an NFC-A tag.
|
static NfcATag |
getInstance(TagInfo tagInfo) |
Obtains an
NfcATag object based on the tag information. |
short |
getSak() |
Obtains the SAK of an NFC-A tag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckConnected, connectTag, getMaxSendLength, getSendDataTimeout, getTagInfo, isTagConnected, reset, sendData, setSendDataTimeoutpublic static final String EXTRA_ATQA
public static NfcATag getInstance(TagInfo tagInfo)
NfcATag object based on the tag information.
During tag reading, if the tag supports the NFC-A technology, an NfcATag object
will be created based on the tag information.
tagInfo - Indicates the tag information.NfcATag object.public short getSak()
public byte[] getAtqa()