Class IsoDepTag
java.lang.Object
com.regula.documentreader.api.nfc.IsoDepTag
- All Implemented Interfaces:
IUniversalNfcTag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()Method to connect to a chipintResponse timeoutbyte[]sendApduCommand(byte[] apduCommand) Method receives command that need to be send to a chipvoidsetTransceiveTimeout(int timeout) Method set up tranceive timeout
-
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:IUniversalNfcTagMethod receives command that need to be send to a chip- Specified by:
sendApduCommandin interfaceIUniversalNfcTag- Parameters:
apduCommand- apdu command to a chip- Returns:
- Response from chip
-
getTransceiveTimeout
public int getTransceiveTimeout()Description copied from interface:IUniversalNfcTagResponse timeout- Specified by:
getTransceiveTimeoutin interfaceIUniversalNfcTag- Returns:
- return timeout
-
setTransceiveTimeout
public void setTransceiveTimeout(int timeout) Description copied from interface:IUniversalNfcTagMethod set up tranceive timeout- Specified by:
setTransceiveTimeoutin interfaceIUniversalNfcTag- Parameters:
timeout- time in miliseconds
-
connect
public void connect()Description copied from interface:IUniversalNfcTagMethod to connect to a chip- Specified by:
connectin interfaceIUniversalNfcTag
-