MrtdNfcScanner

class MrtdNfcScanner(mActivity: Activity)

Connects to an NFC-equipped passport/card and attempts to read MrtdNfcData from it.

Constructors

Link copied to clipboard
constructor(mActivity: Activity)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun <ResultT> scanCard(accessData: MrtdAccessData?, reader: MrtdNfcReader<ResultT>, onStatus: (MrtdNfc.Status) -> Unit): ResultT

Connects to NFC card/passport and attempts to read MrtdNfcData in background.