Interface CardInsertionWaiterAsynchronousSpi


public interface CardInsertionWaiterAsynchronousSpi
This SPI is specifically designed for plugins that handle card insertion asynchronously.

A typical example of readers conforming to this mode of operation are Android-based NFC readers.

Since:
2.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the asynchronous callback that will be called when a card is inserted.
  • Method Details

    • setCallback

      void setCallback(CardInsertionWaiterAsynchronousApi callback)
      Sets the asynchronous callback that will be called when a card is inserted.
      Parameters:
      callback - The asynchronous callback to be called.
      Since:
      2.2.0