Endsession; Getinput; Open; Playsound - Magtek Universal SDK Programmer's Manual

Hello, I am your AI assistant. How can I help you?
Table of Contents

Advertisement

6 - IDeviceControl
Parameter
timeout
Return Value:
Returns true if successful. Otherwise, returns false.
6.4

endSession

This function clears session data and returns the device to an idle state.
boolean IDeviceControl.endSession();
Return Value:
Returns true if successful. Otherwise, returns false.
6.5

getInput

This function sends a request for user input at the device. The response data will be returned in the event
OnEvent.
boolean IDeviceControl.getInput(IData data);
Parameter
data
Return Value:
Returns true if successful. Otherwise, returns false.
6.6

open

This function opens a connection to the device.
boolean IDeviceControl.open();
Return Value:
Returns true if successful. Otherwise, returns false.
6.7

playSound

This function instructs the device to play a tone.
boolean IDeviceControl.playSound(IData data);
Parameter
data
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 25
Timeout in seconds for the device to display the message.
Usage:
0x00 - Infinite timeout. Device leaves the requested message on the
display until the host initiates a change.
All other values - Timeout in seconds for the device to display the message.
Byte array or string data to send to the device.
Byte array or string data to send to the device.
Description
Description
Description

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