Interface CardReader

    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the reader.
        Returns:
        A non-empty string containing the name of the reader.
        Since:
        1.0.0
      • isContactless

        boolean isContactless()
        Checks if the card communication mode is contactless.
        Returns:
        true if the communication mode is contactless else false.
        Since:
        1.0.0
      • isCardPresent

        boolean isCardPresent()
        Checks if the card is present.
        Returns:
        true if a card is inserted in the reader else false.
        Throws:
        ReaderCommunicationException - If the communication with the reader has failed.
        Since:
        1.0.0