This class parses the signatures or swipe cards or both and returns the coordinates of signature or info on the cards.
| package |
Application |
|---|
__construct(\com\scriptel\STNSignatureProtocolsignatureProtocol = false, \com\scriptel\STNCardSwipeProtocolcardProtocol = false) : mixed
\com\scriptel\STNSignatureProtocolProtocol for the device you're trying to decode signatures for.
\com\scriptel\STNCardSwipeProtocolProtocol for the device you're trying to decode card swipes for.
mixed
addListener(\com\scriptel\EasyScriptEventListenercr) : mixed
\com\scriptel\EasyScriptEventListener
mixed
clearBuffers() : mixed
mixed
getEventListeners() : \com\scriptel\EasyScriptEventListener[]
\com\scriptel\EasyScriptEventListener[]
interruptedSignature(stringchr) : mixed
stringCurrent character in the stream.
mixed
parse(stringsig) : \com\scriptel\Signature
| Throws |
|
|---|
stringThe signature or card swipe data that would be decoded.
\com\scriptel\Signature| CardSwipe
parseCard(stringchr) : \com\scriptel\EasyScriptCardState
stringCurrent character in the stream.
\com\scriptel\EasyScriptCardState
parseCardSwipe(stringswipe) : \com\scriptel\CardSwipe
| Throws |
|
|---|
stringScripTouch magnetic strip data.
\com\scriptel\CardSwipeParsed card swipe.
parseCharacter(stringchr) : mixed
This listener will be called when specific events are generated by decoding the stream.
| Throws |
|
|---|
stringNext character in the stream to parse.
mixed
removeListener(\com\scriptel\EasyScriptEventListenercr) : mixed
\com\scriptel\EasyScriptEventListener
mixed
signatureCompressedState(stringchr) : mixed
| var |
EasyScriptEventListener |
|---|---|
stringCurrent character in the stream.
mixed
tranistionFromSignatureSentinelToProtocolVersion(stringchr) : mixed
| Throws |
|
|---|
stringCurrent character in the stream.
mixed
transitionFromCardSentinelToData(\com\scriptel\EasyScriptCardStatestate) : mixed
\com\scriptel\EasyScriptCardStateFinal state of the card.
mixed
transitionFromFirmwareVersionToSignature(stringchr) : mixed
| var |
EasyScriptEventListener |
|---|---|
| Throws |
|
stringCurrent character in the stream.
mixed
transitionFromModelToFirmwareVersion(stringchr) : mixed
stringCurrent character in the stream.
mixed
transitionFromProtocolVersionToModel(stringchr) : mixed
stringCurrent character in the stream.
mixed
transitionFromUnknownToSentinel(stringchr) : mixed
stringCurrent character in the stream.
mixed
LIBRARY_VERSION
LIBRARY_BUILD_DATE
signatureProtocol :
| var |
SignatureProtocol. |
|---|
cardProtocol : \com\scriptel\CardSwipeProtocol
cardState :
| var |
EasyScriptCardState. |
|---|
signatureBuffer : string
| var |
|---|
string
cardBuffer : string
| var |
|---|
string
decoder : \com\scriptel\EasyScriptDecoder
eventListeners : \com\scriptel\EasyScriptEventListener[]
currentPosition : int
| var |
|---|
int
currentState : \com\scriptel\EasyScriptStreamingState