springcore.scard.CardReader

*** PRELIMINARY ***

The springcore.scard.CardReader encapsulate smart card readers connected to a SpringCore device. This includes the NFC (contactless) interface, the contact (SAM) slots if the device has some, and the secure element(s).

Class documentation

Type Name Description
Method isPresent Tells whether there is a card in the reader or not
Method isPowered Tells whether the card in the reader is powered or not
Method getCard Return the Card object to communicate with the card
Method control Send a direct command to the reader

Constructor

The CardReader class does not have any publicly-available constructor. Instanciation can only be done through the methods of the scard object:

  • scard.getNfcReader for the NFC interface,
  • scard.getSamReader for the SAM slot(s).