setVolume

fun setVolume(volume: Float)

Sets the volume of this AudioMixerGroupResource.

Parameters

volume

Volume in the range 0.0f, 1.0f.

Throws

IllegalStateException

If this resource has been closed.