Package org.eclipse.keypop.card.spi
Interface CardSelectionExtensionSpi
public interface CardSelectionExtensionSpi
Extension of the card selection for a specific card extension.
Provides the CardSelectionRequestSpi
and interprets the result to provide a SmartCardSpi
.
Backside of the org.eclipse.keypop.reader.selection.spi.CardSelectionExtension interface present in the Keypop Reader API.
An adapter of this interface must also implement CardSelectionExtension.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the card selection request containing the selection data prepared for this selection.parse
(CardSelectionResponseApi cardSelectionResponseApi) Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.
-
Method Details
-
getCardSelectionRequest
CardSelectionRequestSpi getCardSelectionRequest()Gets the card selection request containing the selection data prepared for this selection.- Returns:
- A non-null reference.
- Since:
- 1.0.0
-
parse
Analyzes the response received from the card during the selection process and creates aSmartCardSpi
.- Parameters:
cardSelectionResponseApi
- The card selection response.- Returns:
- A non-null reference.
- Throws:
ParseException
- If the card selection response parsing failed.- Since:
- 1.0.0
-