IRdrCallback

interface IRdrCallback

Interface class for NFC callback services

Functions

Link copied to clipboard
abstract fun activate()

Activate contactless card (EMV Level 1).

Link copied to clipboard
abstract fun detectCardInterface(supportedInterface: Int, timeout: Int): Int

Performs polling on all supported interfaces until timeout.

Link copied to clipboard
abstract fun detectCollision()

Detection potential contactless card collision (EMV Level 1).

Link copied to clipboard
abstract fun exchangeApdu(command: ByteArray): ByteArray

Sends an APDU command to rgz card and waits for a response.

Link copied to clipboard
abstract fun getCardStatus(): Int

Returns the current card status.

Link copied to clipboard
abstract fun isCardInserted(): Boolean
Link copied to clipboard
abstract fun powerOff(): Int

Powers card off.

Link copied to clipboard
abstract fun powerOn(): Pair<Int, ByteArray?>

Powers card on.

Link copied to clipboard
abstract fun remove(holdTime: Int)

Performs contactless card removal (EMV Level 1).

Link copied to clipboard
abstract fun resetAntenna()

Reset contactless card antenna (EMV Level 1).

Link copied to clipboard
abstract fun switchAntenna(onOff: Boolean)

Switch antenna on or off.