bool Reset (string)

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

Security

Trust Level Required: Full Trust

Parameters

Name Description
deviceName (Optional) string
The name of the device. If not supplied, the first matching configured device of this type will be used.

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


if (!KioEMVTransaction.Reset())
   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.