Devices Collection



 
The Devices collection contains payment devices that have been activated in the SiteKiosk configuration.


Members Table

    The following table lists the members provided by the Devices collection.

    Members
    Objects Description
    ACOS Controls the ACOS smartcard device.
    ccTalk Controls the ccTalk device.
    CreditCard Controls the credit card device.
    ScriptDevice Controls the script device.
    SiteCafeClient SiteCafe client functionality.
    Properties Description
    Count The number of active payment devices.
    Methods Description
    Item Returns one item of the collection.

Remarks
    This collection is available through the object SiteCash. Use the Devices collection to take advantage of functionality provided by the devices or to modify the settings.

    An object of this collection can only be used if the respective device has been activated in the SiteKiosk configuration.

    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 number of active payment devices in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").Devices.Count);
    </SCRIPT>
    

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

Back to top