EasyScript Class |
Namespace: EasyScriptAPI
The EasyScript type exposes the following members.
Name | Description | |
---|---|---|
EasyScript |
Initializes a new instance of the EasyScript class. Default constructor, uses the STN protocol.
| |
EasyScript(ISignatureProtocol, ICardSwipeProtocol) |
Initializes a new instance of the EasyScript class. Pass in the protocol
of the device that you're using.
|
Name | Description | |
---|---|---|
AddListener |
This method accepts a new event listener which will be called when
signature or card events are detected in the character stream passed in
through ParseSignature().
| |
GetCardProtocol |
Gets the current card swipe protocol
| |
GetSignatureProtocol |
Gets the current signature protocol
| |
KeyboardEventToChar |
This method will attempt to take a keyboard event from either KeyUp
or KeyDown and attempt to turn it into its representation in the
English - US keyboard layout. This should allow EasyScript devices
to work in mixed keyboard environments.
| |
Parse |
This method allows streaming of individual characters to produce
streaming signatures using callbacks registered with addListener().
When events are detected in the signature stream events will be sent
to the event listeners.
| |
ParseCardSwipe |
This method attempts to parse a magnetic card swipe from a ScripTouch
device with a magnetic strip reader.
| |
ParseSignature |
This method takes a EasyScript string and attempts to parse it into
a signature object.
| |
RemoveListener |
This method removes an event listener from the list of listeners
interested in signature events.
| |
RenderSignature |
This method will take a signature and will attempt to render it onto an Image object.
|
Name | Description | |
---|---|---|
LibraryBuildDate |
This contains the date on which the library was built (YYYY-MM-DD HH:MM:SS).
| |
LibraryVersion |
This contains the current version of the library.
|