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
Several functions include countdowns and/or timers to determine video length. For example, it's possible to set an automatic countdown for photo 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 without direct visitor interaction. The resulting image is shown overlaid with the alert message defined until the alert is dismissed or the idle timer triggers.
By default, the app always returns images in maximum quality of the device. If your use case requires smaller image files (to maximize storage on the device, for example), we've added calls to allow you to resize images to a certain width and height (expressed in pixels) prior to saving.
A custom function can also be used to determine whether to default to the front or back camera.
Resulting image and video files can be accessed directly on the device by a locally stored HTML page, manually synced off the device, or retrieved remotely through Dropbox sync to a unique content folder.
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.