public interface WaitForCardRemovalBlocking extends ObservableReaderNotifier
ObservableReader.NotificationMode, ObservableReader.PollingMode, ObservableReader.ReaderObserver| Modifier and Type | Method and Description |
|---|---|
void |
stopWaitForCardRemoval()
Interrupts the waiting of the removal of the card
|
boolean |
waitForCardAbsentNative()
Wait until the card disappears.
|
notifyObserversaddObserver, clearObservers, countObservers, finalizeCardProcessing, removeObserver, setDefaultSelectionRequest, setDefaultSelectionRequest, startCardDetection, stopCardDetectionactivateProtocol, deactivateProtocol, getName, isCardPresent, isContactlessboolean waitForCardAbsentNative()
This method must be implemented by the plugin's reader class when it implements the WaitForCardRemovalBlocking interface. The reader implementation must manage the card removal
process itself. (for example by using the analogous waitForCardAbsent method in the case of a
plugin based on smartcard.io [PC/SC]).
In the case where the reader plugin is not able to handle the card removal process itself
(not implementing the WaitForCardRemovalBlocking interface, then it is managed by the
isCardPresentPing method defined in this class.
Returns true if the card has disappeared.
*
KeypleReaderIOException - if the communication with the reader or the card has failedvoid stopWaitForCardRemoval()