
19 www.epadlink.com
Integration Guide (ePad-vision SDK for Chrome & Firefox)
Number identifying the command. 2 for close connection.
Output Message
{"command":2,"status":False,"message":"Could not find a signature pad."}
Number identifying the command. 2 for close connection.
True if connection is successfully closed, false otherwise.
Empty in case connection is successfully closed message in case
connection close fails.
9.3 – Create Screen (No signature)
Creates a screen on the ePad-vision device. Should be called after opening a connection
Input Message
{"command": 3 , "inking": false , "inkRegionx": 0 , "inkRegiony": 0, "inkRegionWidth": 0 , "inkRegionHeight":0,
"widgetLayout": "XML String containing widget information" }
Number identifying the command. 3 for screen creation.
XML String containing 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 with widgets, which has text widgets, push buttons, and radio buttons. Each widget can specify
the ID, type, font details, location and size on the device etc.
"<WidgetLayout><Widget ID=\"11\" Type=\"TEXT\" FontName=\"SAN_B_24\" BGColor=\"0000FF\"
FGColor=\"ffd700\" Width=\"450\" Height=\"100\" X=\"10\" Y=\"10\" Effect=\"NONE\" Text=\"In this transaction, you
have the option to capture your signature electronically or enter your pin or opt-out. Please make your selection
below.\" /><Widget ID=\"12\" Type=\"RADIOBUTTON\" FontName=\"SAN_B_16\" BGColor=\"0000FF\"
FGColor=\"ffd700\" Width=\"320\" Height=\"34\" X=\"50\" Y=\"110\" Effect=\"NONE\" Text=\"Continue with signing
process electronically\" GrpID=\"1\" /><Widget ID=\"13\" Type=\"RADIOBUTTON\" FontName=\"SAN_B_16\"
Kommentare zu diesen Handbüchern