bool Reset(string)

Causes a device to reset itself, usually clearing the display.

Security

Trust Level Required: Full Trust

Parameters

Name Description
input string
Serialized JSON string with the following parameters from the EMVRequestInput class: (optional) DeviceName.

Return

True if the command was queued for processing, false otherwise.

Remarks

NETePay users must call this function before running a transaction, and after running a transaction. This call is implemented for other EMV integrations, but it currently does nothing.

Examples


var input = {
  "DeviceName": "MyDevice"
};
if (!KioEMVDevice.Reset(input))
   alert('Failed to call Reset!');

// callback fired when operation processed
function OnKioEMVTransactionCompleted(result) {
   alert('Operation returned: ' + lastTransResult.Result);
}

Requirements

KioWare for Windows version 8.14 or greater.