PhoneCallsEnabled Property



 
The PhoneCallsEnabled property indicates whether phone calls are enabled or not.


Syntax

    [long=] SiteKiosk.Plugins("SitePhone").PhoneCallsEnabled
Possible Values
    Long value that retrieves whether phone calls are enabled.

    The property is read only.
Remarks
    None.
Examples
    The following example checks if phone calls are enabled and starts a call.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SitePhone = SiteKiosk.Plugins("SitePhone");
    
    if (SitePhone.PhoneCallsEnabled)
       SitePhone.StartCall("+1 918 555 5000");
    </SCRIPT>

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

Back to top