VolumeController

Controller for adjusting the volume

Inheritors

Properties

Link copied to clipboard
abstract val currentVolume: Flow<Float>

The volume of the audio playback. A value of 0.0 indicates silence; a value of 1.0 (the default) indicates full audio volume for the player instance.

Functions

Link copied to clipboard
abstract suspend fun updateVolume(volume: Float)

Updates the currentVolume