CallRate Property
The CallRate property indicates how much the current call costs per tick.
Syntax
[double=] SiteKiosk.Plugins("SitePhone").CallRate
|
Possible Values
Double value that retrieves the current call rate.
|
The property is read only.
Remarks
Examples
The following example keeps a HTML element containing the call rate up to date.
<div id="CallRate">0</div>
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SitePhone = SiteKiosk.Plugins("SitePhone");
SitePhone.OnCallStateChanged = OnCallStateChanged;
function OnCallStateChanged()
{
CallRate.innerHTML = SitePhone.CallRate;
}
</SCRIPT>
|
Applies to
SiteKiosk v7.0 (and later versions).
Back to top