Mode Property



 
The Mode property contains the payment mode.


Syntax

    [long=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
            Mode
    
Possible Values
    Long value that retrieves the mode.

    The property is read only.
Remarks
    Possible modes are:

    1 : decrease credit (prepaid)
    3 : decrease remaining time (prepaid)
    4 : increase time (payment after surfing)
Examples
    The following example displays the payment mode.

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

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

Back to top