![Magtek DYNAMAG Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/magtek/dynamag/dynamag_instruction-manual_694747027.webp)
3 - MTSCRA Functions
Dynamag, DynaMAX, eDynamo, mDynamo, tDynamo, DynaWave, and iDynamo 6| Secure Card Reader Authenticators | Programmer’s
Reference (Java and Java Applet)
Page 27
3.3
closeDevice
This function closes the connection to the device. The event associated with this command is
onDeviceConnectionStateChanged
long closeDevice();
Return Value:
0 = Success
Non-Zero = Error
3.4
init
This function registers a listener for callback and applies for Java only not Java Applet. See section 4
for details about implementing the listener object.
Void init(MTSCRAEvent e);
Return Value: None
3.5
getDeviceList
This function enumerates all SCRA devices connected to the host.
String getDeviceList();
Return Value:
Returns a string which contains zero or more device paths separated by ‘,’.
3.6
isDeviceConnected
This function retrieves the connection status of the device.
boolean isDeviceConnected();
Return Value:
True
if the host is connected to the device, otherwise
False.
3.7
isDeviceEMV
This function indicates whether the device supports EMV or not.
boolean isDeviceEMV();
Return Value:
True
= EMV supported by the device.
3.8
getFirmware
This function retrieves firmware revision number.
String getFirmware();
Return Value: String containing the Firmware revision number.