NfcTagData

data class NfcTagData(val serialNumber: String, val type: NfcTagType, val payload: String?, val techList: List<String> = emptyList())(source)

Data class representing the information extracted from an NFC tag.

Constructors

Link copied to clipboard
constructor(serialNumber: String, type: NfcTagType, payload: String?, techList: List<String> = emptyList())

Properties

Link copied to clipboard

The data content read from the tag. This is null if the tag is empty or NfcTagType.NON_NDEF.

Link copied to clipboard

The unique identifier (UID) of the NFC tag, typically as a hex-encoded string.

Link copied to clipboard

A list of technologies supported by the tag (e.g., "ISO 14443-3A", "Mifare Classic").

Link copied to clipboard

The NfcTagType of the tag.