void setMasterVolume(double volume)
Sets the master volume level
Security
Trust Level Required: Medium Trust
Parameters
Name | Description |
volume |
double The new master volume as a percentage (0 - 100) |
Return
Nothing returned
Examples
var volume = KioUtils.getMasterVolume();
KioUtils.setMasterVolume(volume <= 90 ? volume + 10 : 100);
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.