KioTransStates GetState (string)

Gets current device state.

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

Returns the device's current state, a member of the KioTransStates enum.

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 s = KioEMVTransaction.GetState();
alert(s);
                        

Requirements

KioWare for Windows version 8.7 or greater.