# DevInfoAdapter Object The DevInfoAdapter object controls a payment device. Members Table The following table lists the members provided by the DevInfoAdapter object.
Members
Collections | Description
Coins | Contains the inserted coins.
Properties | Description
AccessDevice | Whether the device is an access device.
Active | Whether the device is active.
ECashDevice | Whether the device is a virtual money device.
EscrowBalance | Escrow balance.
EscrowDevice | Whether the device is an escrow device.
EscrowEnabled | Whether escrow functionality is enabled.
HtmlDialogSnippet | HTML snippet for a dialog.
LimboMoney | Limbo money of the device.
MonetaryDevice | Whether the device is a monetary device.
Name | Long device description.
SequentialReturn | Whether coins are returned in the same order as inserted.
ShortName | Short device description.
SingleReturn | Whether device allows returning single coins/notes.
Type | Device type.
Methods | Description
Accept | Accepts a coin.
AcceptAll | Accepts all coins.
DebitTrial | Tries to debit.
EnableDevice | Enables or disables the device.
Reject | Rejects a coin.
RejectAll | Rejects all coins.
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