scan

open suspend override fun scan(message: String?)

Starts scanning for ISO 7816-4 NFC tag

  • message - UI message to display on the system NFC overlay (iOS)

This function returns when:

  • an IsoDep tag is scanned and session established

  • on cancellation (cancel_scan) - NfcError::Cancelled

  • or on failure