boolean connectToDevice()
Connects to the payment device.
Remarks
Calls window.onKioEMVDeviceConnected on completion.
Examples
function connectToDevice() {
KioEMV.connectToDevice();
}
function onKioEMVDeviceConnected(success) {
setConnected(success);
if (!success) alert('Failed to connect to device!');
}
Requirements
KioWare for Android version 3.23 or greater.