Idevicecontrol Walk Through - Magtek Universal SDK Programmer's Manual

Table of Contents

Advertisement

Appendix B - API Walk Through
B.3

IDeviceControl Walk Through

The following walks through how to make use of IDeviceControl.
IDevice  IDeviceControl.
IDeviceControl  open().
IDeviceControl  other functions.
IDeviceControl  close().
Example
// Establish a device from CoreAPI.
List<IDevice> deviceList = CoreAPI.getDeviceList();
IDevice device = deviceList.get(0);
// Establish a deviceControl from device.
IDeviceControl deviceControl = device.getDeviceControl();
// Open the device, then use the IDeviceControl functions.
deviceControl.open();
. . .
// Close the device.
deviceControl.close();
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 50

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

Related Products for Magtek Universal SDK

Table of Contents