CallCosts Property



 
The CallCosts property indicates how much the current call will cost in total.


Syntax

    [double=] SiteKiosk.Plugins("SitePhone").CallCosts
Possible Values
    Double value that retrieves the call costs. 

    The property is read only.
Remarks
    None.
Examples
    The following example keeps a HTML element containing the call costs up to date.

    <div id="CallCosts">0</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SitePhone = SiteKiosk.Plugins("SitePhone");
    SitePhone.OnCallDurationChanged = OnCallDurationChanged;
    
    function OnCallDurationChanged()
    {
       CallCosts.innerHTML = SitePhone.CallCosts;
    }
    </SCRIPT>
    

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

Back to top