setVolume

abstract fun setVolume(volume: Int, rate: Speaker.Rate = Rate.FAST): Boolean

Set the volume of the speaker.

Return

success or not

Parameters

volume

amount of volume range in (getMinVolume .. getMaxVolume)