EnableDevice Method



 
The EnableDevice method enables or disables the device.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices2.Item(index).EnableDevice(enable)
    
Parameters
    enable Boolean value that specifies whether to enable the device.
Return Value
    None.
Remarks
    None.
Examples
    The following example disables the first existing device.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").Devices2.Item(1).EnableDevice(false);
    </SCRIPT>
    

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

Back to top