Appendix C - EMV Transaction Flow
// #3
@Override
public void OnEvent(EventType eventType, IData data)
{
String message;
switch (eventType);
{
case EventType.InputRequest:
// Get the message.
message = data.StringValue();
// display/retrieve user selection.
. . .
// set status and selection result.
IData selectionData = new IData;
selectionData[0] = status;
selectionData[1] = selection;
device.sendSelection(data);
break;
}
}
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 58
Need help?
Do you have a question about the Universal SDK and is the answer not in the manual?
Questions and answers