setVolume

fun setVolume(level: Float): Boolean

Sets the volume level (0.0 to 1.0)

Return

true if successful, false otherwise

Parameters

level

Volume level between 0.0 (silence) and 1.0 (full volume)