
21 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
"<WidgetLayout><Widget ID=\"2\" Type=\"BUTTON\" FontName=\"SAN_B_16\" BGColor=\"00FFFF\"
FGColor=\"000000\" Width=\"80\" Height=\"34\" X=\"80\" Y=\"220\" Effect=\"ThreeD\" Text=\"Accept\"/><Widget
ID=\"3\" Type=\"BUTTON\" FontName=\"SAN_B_16\" BGColor=\"00FFFF\" FGColor=\"000000\" Width=\"80\"
Height=\"34\" X=\"200\" Y=\"220\" Effect=\"ThreeD\" Text=\"Clear\"/><Widget ID=\"4\" Type=\"BUTTON\"
FontName=\"SAN_B_16\" BGColor=\"00FFFF\" FGColor=\"000000\" Width=\"80\" Height=\"34\" X=\"320\"
Y=\"220\" Effect=\"ThreeD\" Text=\"Cancel\"/></WidgetLayout>"
For more information on XML refer to ePad-vision device driver documentation.
Output Message
{"command":3, status":false,”message”:” Screen creation failed”}
Number identifying the command. 3 for open connection.
True if command successfully false otherwise.
Empty in case create screen successful, message in case screen
creation fails.
9.5 – PinPad Screen
Display PinPad screen on ePad, to capture password or PIN key.
Input Message
{"command": 4 , "inking": false , "inkRegionx": 0 , "inkRegiony": 0, "inkRegionWidth": 0 , "inkRegionHeight":0,
"widgetLayout": "XML String containing pinpad information" }
Number identifying the command.4 for PinPad screen.
XML String containing pinpad widgets to be created on ePad vision
screen.
Here is a sample XML (Sample application of SDK uses this for widgetLayout parameter) for creating a
screen for pinpad screen.
"<PinPad><Widget ID=\"NUM_1\" FontName=\"SAN_B_20\" BGColor=\"0000FF\" FGColor=\"000000\"
Width=\"60\" Height=\"70\" X=\"275\" Y=\"2\" Effect=\"ThreeD\" /><Widget ID=\"NUM_2\"
FontName=\"SAN_B_20\" BGColor=\"0000FF\" FGColor=\"000000\" Width=\"60\" Height=\"70\" X=\"340\" Y=\"2\"
Effect=\"ThreeD\" /><Widget ID=\"NUM_3\" FontName=\"SAN_B_20\" BGColor=\"0000FF\" FGColor=\"000000\"
Width=\"60\" Height=\"70\" X=\"405\" Y=\"2\" Effect=\"ThreeD\" /><Widget ID=\"NUM_4\"
Comentarios a estos manuales