onApduReceived property

set onApduReceived (void handler(Uint8List apdu)?)

A reader sent a command APDU. Answer it with respond.

The reader is waiting, so answer promptly; a slow answer looks to the reader like a card that left the field.

Implementation

set onApduReceived(void Function(Uint8List apdu)? handler) {
  NfcCallbacks.instance.apduHandler = handler;
}