NfcTagReaderUsb
An NfcTagReader backed by an external USB CCID (Chip Card Interface Device) contactless smart card / NFC reader.
Instances can be obtained either via ExternalNfcReaderUsb.getNfcTagReader (managed through ExternalNfcReaderStore) or directly on supported platforms via factory methods on NfcTagReaderUsb.Companion (such as NfcTagReaderUsb.create(...) on JVM/Linux).
When a caller creates an NfcTagReaderUsb directly, close should be invoked when the reader is no longer needed to cancel background disconnect timers and release any claimed USB interface immediately.
Types
Companion object hosting platform-specific factory extensions for NfcTagReaderUsb.
Properties
Functions
Closes this NfcTagReaderUsb, cancelling any delayed USB disconnect timer and releasing any currently claimed USB CCID interface.
Scans for an NFC tag using the USB CCID reader and executes tagInteractionFunc.
Performs NFC engagement as a mdoc reader.
Performs NFC engagement and reader transaction processing as a mdoc reader.
Suspends until the tag from the most recent scan call is removed from the USB reader's RF field.