Event is fired after the Gateway has received a submitted signature.
Note: This component event is designed to be used in tandem with a run action script. Within the script action, special properties and methods are available on the event object, which is passed to the script action as a parameter.
Base64-encoded PNG DataURL of the submitted signature.
A name for the signature file.
The size of the signature image file in bytes.
Saves the uploaded signature file at a location accessible to the Gateway.
String filePath - The path to where the file should be saved on the Gateway.
Returns a bytearray of the image, allowing the signature file to be saved from the session (with system.perspective.download()).
byteArray - The raw data of the incoming file.
Fetches the incoming file data and attempts to parse it as a string via UTF-8 (Eight-bit UCS Transformation Format) encoding. Defaults to UTF-8 (super common), but can use other character sets. Passed as a string, for example getString("UTF_16BE).
byteArray - The raw data of the incoming signature file.