Interface WaitForCardRemovalDuringProcessingBlockingSpi


@Deprecated public interface WaitForCardRemovalDuringProcessingBlockingSpi
Deprecated.
Useless SPI, don't implement it. Will be removed in a future version of this API.
Reader able to detect a card removal during processing, between two APDU commands.

A typical example of readers conforming to this mode of operation are PC/SC type readers.

Since:
2.0.0
  • Method Details

    • waitForCardRemovalDuringProcessing

      @Deprecated void waitForCardRemovalDuringProcessing() 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 stopWaitForCardRemovalDuringProcessing()), 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
    • stopWaitForCardRemovalDuringProcessing

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