setVolume
abstract fun setVolume(volume: Int, rate: Speaker.Rate = Rate.FAST): Boolean
Content copied to clipboard
Set the volume of the speaker.
Return
success or not
Parameters
volume
amount of volume range in (getMinVolume .. getMaxVolume)