Count Property



 
The Count property contains the number of payment devices that have been activated in the SiteKiosk configuration.


Syntax

    [long=] SiteKiosk.Plugins("SiteCash").Devices.Count
Possible Values
    Long value that retrieves the number of active devices.

    The property is read only.
Remarks
    None.
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