DiscardMoneyOnShutdown Property



 
The DiscardMoneyOnShutdown property indicates whether credit is discarded after terminating SiteKiosk.


Syntax

    SiteKiosk.Plugins("SiteCash").DiscardMoneyOnShutdown [=bool]
    
Possible Values
    Boolean value that specifies or retrieves the discard status.

    The property is read/write.
Remarks
    If this property is false, the current balance will be saved when SiteKiosk is terminated and restored the next time SiteKiosk is started.
Examples
    The following example determines if credit will be discarded after terminating SiteKiosk and shows it in an alert window.

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

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

Back to top