Set the volume of a given volume type as a number between 0 and 1.
Example - Set Volume
function OnStart()
{
lay = app.CreateLayout( "linear", "VCenter,FillXY" );
skb = app.CreateSeekBar( 1 );
skb.SetRange( 1 );
skb.SetOnChange( SetVolume );
lay.AddChild( skb );
app.AddLayout( lay );
}
function SetVolume( value )
{
app.SetVolume( "Music", value );
app.PlaySound( "/Sys/Snd/Poing.ogg" );
}