NfcApduService

abstract class NfcApduService(applicationContext: Context, sendResponse: (ByteArray) -> Unit)

Interface for NFC APDU services orchestrated by CombinedNfcService.

Inheritors

Constructors

Link copied to clipboard
constructor(applicationContext: Context, sendResponse: (ByteArray) -> Unit)

Functions

Link copied to clipboard
open fun onCreate()

Called when CombinedNfcService is created by the OS.

Link copied to clipboard
open fun onDeactivated(reason: Int)

Called when the service is deactivated.

Link copied to clipboard
open fun onDestroy()

Called when CombinedNfcService is destroyed by the OS.

Link copied to clipboard
open fun processCommandApdu(commandApdu: ByteArray, extras: Bundle?): ByteArray?

Called when APDUs arrive