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