SiteKiosk Documentation
One Step Back

OnBlockProgress Event




Fires when the progress of writing blocks changes.


Syntax

    SiteKiosk.CDRecording.OnBlockProgress = handler
Parameters
    completedLong value that contains the number of written blocks.
    totalLong value that contains the total number of blocks.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the progress of writing blocks when recording.

    <div id="id_block">Blocks: 0 / 0</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    var lk_CDRecording = SiteKiosk.CDRecording;
    lk_CDRecording.OnBlockProgress = OnBlockProgress;
    function OnBlockProgress(completed, total)
    {
       id_block.innerHTML = "Blocks: " + completed + " / " + total;
    }
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -