Duration Property
The Duration property contains the remaining/spent surftime of the account (depends on mode).
Syntax
[long=] SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
Duration
|
Possible Values
Long value that retrieves the duration.
|
The property is read only.
Remarks
The meaning of this property depends on the mode:
Mode 1 : not relevant
Mode 3 : remaining surftime
Mode 4 : spent surftime
Durations are a number of seconds.
Examples
The following example displays the remaining/spent surftime.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
alert(SiteCafe.Duration);
</SCRIPT>
|
Applies to
SiteKiosk v6.2 (and later versions).
Back to top