IsCardValid Method



 
The IsCardValid method returns whether the inserted SmartCard is valid.


Syntax

    [bool=] SiteKiosk.Plugins("SiteCash").Devices("ACOS").IsCardValid()
Return Value
    Returns a Boolean value that indicates if the SmartCard is valid.
Remarks
    None.
Examples
    The following example determines if the inserted SmartCard is valid and shows it in an alert window.

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

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

Back to top