setVolume

open override fun setVolume(volume: Int): PlayerUpdateBuilder

Update the volume of the player. While you could use the filters to set volume as well, do note that that is float based (1.0f is 100% volume) and takes the time of your buffer size to apply. This method updates the volume instantly after the update is sent out.

Return

The updated builder, useful for chaining

Parameters

volume

The new player volume, value is between 0 and 1000 where 100 is 100% (default) volume.