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
Need help?
Do you have a question about the Universal SDK and is the answer not in the manual?
Questions and answers