void SetMasterVolume(double)
Sets the master volume level
Security
Trust Level Required: Medium Trust
Parameters
Name | Description |
volPercent |
double The new master volume as a percent. |
Examples
var THRESHOLD = 20;
var volume = KioUtils.GetMasterVolume();
if(volume > THRESHOLD) KioUtils.SetMasterVolume(THRESHOLD * .1);
Requirements
KioWare for Windows version 8.1 or greater.