Idevice; Canceltransaction; Getcapabilities; Getconnectioninfo - Magtek Universal SDK Programmer's Manual

Table of Contents

Advertisement

4 - IDevice

4
IDevice
Create an instance of the IDevice 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 interface to the device.
IDeviceCapabilities IDevice.getCapabilities();
Return Value:
Returns IDeviceCapabilities
4.3

getConnectionInfo

This function retrieves the connection information of the device.
ConnectionInfo IDevice.getConnectionInfo();
Return Value:
Returns ConnectionInfo
4.4

getConnectionState

This function retrieves the connection state of the device.
ConnectionState IDevice.getConnectionState();
Return Value:
Returns ConnectionState
4.5

getDeviceControl

This function retrieves the device control interface to the device.
IDeviceControl IDevice.getDeviceControl();
Return Value:
Returns IDeviceControl
4.6

getDeviceConfiguration

This function retrieves a device configuration interface to the device.
IDeviceConfiguration IDevice.getDeviceConfiguration();
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 14

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Universal SDK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for Magtek Universal SDK

Table of Contents