程序包 ohos.nfc.tag

Reads and writes NFC tags.

TagInfo: creates tags and obtains tag information.

TagManager: controls tag read and write. Classes for different types of tags inherit from this abstract class to control connections to tags, read data from tags, and write data to tags.

NfcATag: inherits from the TagManager abstract class to control connections to NFC-A tags, read data from NFC-A tags, and write data to NFC-A tags.

IsoDepTag: inherits from the TagManager abstract class to control connections to ISO-DEP tags, read data from ISO-DEP tags, and write data to ISO-DEP tags

MifareClassicTag: inherits from the TagManager abstract class to control connections to Mifare Classic tags, and read data from and write data to Mifare Classic tags.

NdefTag: inherits from the TagManager abstract class to control connections to NDEF tags, and read data from and write data to NDEF tags.

NdefMessage: represents the NDEF message.

MessageRecord: represents the NDEF message record.

MifareUltralightTag: inherits from the TagManager abstract class to control connections to MIFARE Ultralight tags, and read data from and write data to MIFARE Ultralight tags.

NfcBTag: inherits from the TagManager abstract class to control connections to NFC-B tags, and read data from and write data to NFC-B tags.

从以下版本开始:
1
跳过导航链接