Interface WaitForCardRemovalBlockingSpi


@Deprecated public interface WaitForCardRemovalBlockingSpi
Deprecated.
Implement CardRemovalWaiterBlockingSpi instead (will be removed in a future version of this API).
Reader able to wait autonomously and indefinitely for the removal of a card by implementing a waiting mechanism.

A typical example of readers conforming to this mode of operation are PC/SC type readers capable of performing RF polling without waiting for a command from the application.

Since:
2.0.0
  • Method Details

    • waitForCardRemoval

      @Deprecated void waitForCardRemoval() throws ReaderIOException, TaskCanceledException
      Deprecated.
      Waits indefinitely for a card to be removed.

      This wait can be cancelled for an internal (for example timeout) or external reason (for example invocation of stopWaitForCardRemoval()), in this case an exception is raised.

      Throws:
      ReaderIOException - If the communication with the reader
      TaskCanceledException - If the task has been canceled and is no longer active
      Since:
      2.0.0
    • stopWaitForCardRemoval

      @Deprecated void stopWaitForCardRemoval()
      Deprecated.
      Interrupts the waiting of the removal of the card
      Since:
      2.0.0