IsCardInserted Method



 
The IsCardInserted method returns whether a SmartCard is inserted.


Syntax

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

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

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

Back to top