public class IsoDepTag extends TagManager
IsoDepTag objects and tag information.
This class is inherited from the TagManager abstract class and provides the methods to
create IsoDepTag objects and obtain the higher layer response and historical bytes.
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
EXTRA_HILAYER_RESP |
Indicates the keyword used to obtain the higher layer response of an ISO-DEP tag that is based
on the NFC-B technology.
|
static String |
EXTRA_HIST_BYTES |
Indicates the keyword used to obtain the historical bytes of an ISO-DEP tag that is based on
the NFC-A technology.
|
ISO_DEP, MIFARE_CLASSIC, MIFARE_ULTRALIGHT, NDEF, NFC_A, NFC_B, NFC_F, NFC_V| 构造器 | 说明 |
|---|---|
IsoDepTag(TagInfo tagInfo) |
Obtains an
IsoDepTag object based on the tag information. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
byte[] |
getHiLayerResponse() |
Obtains the higher layer response of an ISO-DEP tag that is based on the NFC-B technology.
|
byte[] |
getHistoricalBytes() |
Obtains the historical bytes of an ISO-DEP tag that is based on the NFC-A technology.
|
static Optional<IsoDepTag> |
getInstance(TagInfo tagInfo) |
Obtains an instance of
IsoDepTag object based on the tag information. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckConnected, connectTag, getMaxSendLength, getSendDataTimeout, getTagInfo, isTagConnected, reset, sendData, setSendDataTimeoutpublic static final String EXTRA_HILAYER_RESP
public IsoDepTag(TagInfo tagInfo)
IsoDepTag object based on the tag information.
During tag reading, if the tag supports the ISO-DEP protocol, an IsoDepTag object
will be created based on the tag information.
tagInfo - Indicates the tag information.public static Optional<IsoDepTag> getInstance(TagInfo tagInfo)
IsoDepTag object based on the tag information.
During tag reading, if the tag supports the ISO-DEP protocol, an IsoDepTag object
will be created based on the tag information.
tagInfo - Indicates the tag information.public byte[] getHistoricalBytes()
public byte[] getHiLayerResponse()