DevInfoAdapter Object



 
The DevInfoAdapter object controls a payment device.


Members Table

Remarks
    This object is returned by the Item method. Use the DevInfoAdapter object to receive information about a device.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows the names of all available payment devices.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    devices = SiteKiosk.Plugins("SiteCash").Devices2;
    for (i = 1; i <= devices.Count; i++)
    {
       document.write(devices.Item(i).ShortName);
       if (i < devices.Count) document.write(", ");
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top