OnVolumeChanged Event
Fires when the volume has been changed.
Syntax
SiteKiosk.Keyboard.OnVolumeChanged = handler
|
Parameters
volume |
Float value value between 0 and 1 that
retrieves the current volume. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example shows the current volume when it has been changed.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.Keyboard.OnVolumeChanged = OnVolumeChanged;
function OnVolumeChanged(volume)
{
alert(volume);
}
</SCRIPT>
|
Applies to
SiteKiosk v7.0 (and later versions).
Back to top