Capture API: What's Included
In this article
Frequently Asked Questions
Save form data locally to the device
This custom function will save information entered into a form to a .csv or text file stored locally on the device.
CSV (comma-separated value) is a standard format compatible with most spreadsheet software, including Microsoft Excel, and is often used as a format for uploading contact data to online databases. When saving in this format, Kiosk Pro saves each entry as a new line and each cell within that line must be delineated by a comma.
Entries can also be saved to a plain text (.txt) file.
Capture visitor signatures, screenshots, or drawings
This function allows you to capture a screenshot of the current view of the screen and to save it locally as an image file. Parameters of the function let you define the file name used, whether to capture the entire screen or just a portion of it, and to trigger a callback once the capture has been saved successfully.
The screen capture function can be used in combination with an HTML5 canvas in your code to capture visitor signatures and/or drawings as shown in one of our demo samples.
Take photos or record videos using the iPad camera
As a part of the photo API, there's also the option of setting an automatic countdown for capture where the camera image is shown on screen, overlaid by the countdown of the number of seconds until the image will be snapped, which then happens automatically. The resulting image is shown overlaid with the alert message defined until the alert is dismissed or the idle timer triggers.
A custom function can also be used to determine which camera (front or back) to use.
Send data to another application with Zapier
Zapier is a service which connects hundreds of popular web apps, including Google Sheets, MailChimp, and Salesforce among others.
If the device is offline and unable to contact Zapier's servers, Kiosk Pro will store call locally and send them when the device is reconnected to the Internet.