bool SetIdleMessage (string)

Sets a new idle message for the device.

Security

Trust Level Required: Full Trust

Parameters

Name Description
input string
Serialized JSON string with the following parameters from the EMVRequestInput class: TransactionRef (placeholder for message) and (optional) DeviceName.

Return

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

Remarks

This call is implemented for ChipDNA and OTI/Apriva. If other EMV integrations call it, it will result in a script error. For the ChipDNA device, lines can be inserted using [EOL].

Examples


var input = {
  "TransactionRef": "New Idle Message",
  "DeviceName": "MyDevice"
};
if (!KioEMVDevice.SetIdleMessage(input))
   alert('Failed to call SetIdleMessage!');

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

Requirements

KioWare for Windows version 8.24 or greater.