Class IsoDepTag

java.lang.Object
com.regula.documentreader.api.nfc.IsoDepTag
All Implemented Interfaces:
IUniversalNfcTag

public class IsoDepTag extends Object implements IUniversalNfcTag
  • Constructor Details

    • IsoDepTag

      public IsoDepTag(IsoDep tagToWrap)
    • IsoDepTag

      public IsoDepTag(IsoDep tagToWrap, float defaultTimeout)
  • Method Details

    • sendApduCommand

      public byte[] sendApduCommand(byte[] apduCommand)
      Description copied from interface: IUniversalNfcTag
      Method receives command that need to be send to a chip
      Specified by:
      sendApduCommand in interface IUniversalNfcTag
      Parameters:
      apduCommand - apdu command to a chip
      Returns:
      Response from chip
    • getTransceiveTimeout

      public int getTransceiveTimeout()
      Description copied from interface: IUniversalNfcTag
      Response timeout
      Specified by:
      getTransceiveTimeout in interface IUniversalNfcTag
      Returns:
      return timeout
    • setTransceiveTimeout

      public void setTransceiveTimeout(int timeout)
      Description copied from interface: IUniversalNfcTag
      Method set up tranceive timeout
      Specified by:
      setTransceiveTimeout in interface IUniversalNfcTag
      Parameters:
      timeout - time in miliseconds
    • connect

      public void connect()
      Description copied from interface: IUniversalNfcTag
      Method to connect to a chip
      Specified by:
      connect in interface IUniversalNfcTag