NfcApduRouterBackend

Backend interface for routing APDUs to and from an NfcApduRouter on platforms without OS-level Host Card Emulation (such as Desktop/Linux JVM with an NCI controller).

Functions

Link copied to clipboard
abstract fun onRouterStarted(router: NfcApduRouter)

Called when an NfcApduRouter is started via NfcApduRouter.start.

Link copied to clipboard
abstract fun onRouterStopped(router: NfcApduRouter)

Called when an NfcApduRouter is stopped via NfcApduRouter.stop.

Link copied to clipboard
abstract fun sendResponseApdu(responseApdu: ResponseApdu)

Called when an NfcApduRouter (or one of its NfcApduServices) sends a ResponseApdu asynchronously via NfcApduRouter.sendResponseApdu.