update

fun update(tag: Tag)

Records tag as the most recently scanned tag and snapshots its NDEF data.


fun update(tag: Tag, message: NdefMessage?)

Records tag as the most recently scanned tag. message overrides the snapshotted NDEF message — pass the first entry of NfcAdapter.EXTRA_NDEF_MESSAGES if you already have it; otherwise the tag's own cached message is used.