boolean setParameters(String)
Initializes the SDK with the provided parameters.
Parameters
Name | Description |
paramsJson |
String A String representation of an EMVParameters object. |
Remarks
Calls window.onKioEMVInitialized on completion.
Examples
function setParameters() {
var params = {
terminalId: TERMINAL_ID,
secret: SECRET,
mode: 1,
currency: 'USD'
}
KioEMV.setParameters(JSON.stringify(params));
}
function onKioEMVInitialized(success) {
setInitialized(success);
if (!success) alert('Failed to initialize device!');
}
Requirements
KioWare for Android version 3.23 or greater.