Kiosk Native Interface
These are the functions avialable to any web page loaded through the Kiosk application that allows access to native system functionality. The javascript is automatically injected every time a new page is loaded and can be accessed using the kiosk qualifier.
kiosk.lock(function(success) {
if (success) {
console.log('Device is now in kiosk mode.')
}
})
kiosk.getDeviceInfo(function(info) {
console.log(info)
})
kiosk.storage.set('key', data, function(success) {
if (success)
console.log('Data successfully stored.')
})
Returns the hardware, operating system, and application details for the device.
| Parameter | Description |
|---|---|
| callback(info) | Will return an object containing all device details. (required) |
Results