![Magtek Universal SDK Programmer'S Manual Download Page 14](http://html1.mh-extra.com/html/magtek/universal-sdk/universal-sdk_programmers-manual_3704653014.webp)
4 - IDevice
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 14
4
IDevice
Create an instance of the
from CoreAPI.getDeviceList(). Then use the functions described in this
chapter.
4.1
cancelTransaction
This function cancels a transaction. A transaction can only be canceled before a card is presented.
boolean IDevice.cancelTransaction();
Return Value:
Returns true if successful. Otherwise, returns false.
4.2
getCapabilities
This function retrieves the
IDeviceCapabilities IDevice.getCapabilities();
Return Value:
Returns
IDeviceCapabilities
4.3
getConnectionInfo
This function retrieves the connection information of the device.
ConnectionInfo IDevice.getConnectionInfo();
4.4
getConnectionState
This function retrieves the connection state of the device.
ConnectionState IDevice.getConnectionState();
Return Value:
Returns
4.5
getDeviceControl
This function retrieves the device control interface to the device.
IDeviceControl IDevice.getDeviceControl();
Return Value:
Returns
4.6
getDeviceConfiguration
This function retrieves a device configuration interface to the device.
IDeviceConfiguration IDevice.getDeviceConfiguration();