Interface WaitForCardInsertionBlockingSpi
Deprecated.
Reader able to wait autonomously and indefinitely for the insertion 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 Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
Deprecated.
-
Method Details
-
waitForCardInsertion
Deprecated.Waits indefinitely for a card to be inserted.This wait can be cancelled for an internal (for example timeout) or external reason (for example invocation of
stopWaitForCardInsertion()
), in this case an exception is raised.- Throws:
ReaderIOException
- If the communication with the reader has failed.TaskCanceledException
- If the task has been canceled and is no longer active- Since:
- 2.0.0
-
stopWaitForCardInsertion
Deprecated.Interrupts the waiting of a card insertion.- Since:
- 2.0.0
-
CardInsertionWaiterBlockingSpi
instead (will be removed in a future version of this API).