Interface CardSelectionResult


  • public interface CardSelectionResult
    Result of a selection process.

    Each selection case prepared with the card selection manager is associated with an index corresponding to its rank in the order of preparation.
    The same index is used here to find out which selection cases were successful.
    However, only one case will correspond to the selected card state. The getters of this interface allow to make use of these results according to the configurations and the needs of the application.

    Since:
    1.0.0
    • Method Detail

      • getActiveSmartCard

        SmartCard getActiveSmartCard()
        Gets the active matching card. I.e. the card that has been selected.
        Returns:
        Null if there is no active card.
        Since:
        1.0.0
      • getActiveSelectionIndex

        int getActiveSelectionIndex()
        Gets the index of the active selection if any.
        Returns:
        A positive value if there is an active selection, -1 if there is no active selection.
        Since:
        1.0.0