public interface WaitForCardInsertionBlocking extends ObservableReaderNotifier
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.
ObservableReader.NotificationMode, ObservableReader.PollingMode, ObservableReader.ReaderObserver| Modifier and Type | Method and Description |
|---|---|
void |
stopWaitForCard()
Interrupts the waiting of a card
|
boolean |
waitForCardPresent()
Waits for a card.
|
notifyObserversaddObserver, clearObservers, countObservers, finalizeCardProcessing, removeObserver, setDefaultSelectionRequest, setDefaultSelectionRequest, startCardDetection, stopCardDetectionactivateProtocol, deactivateProtocol, getName, isCardPresent, isContactlessboolean waitForCardPresent()
This method must be implemented by the plugin's reader class when it implements the WaitForCardInsertionBlocking interface.
Returns false if no card is detected.
KeypleReaderIOException - if the communication with the reader or the card has failed
(disconnection)void stopWaitForCard()