currentVolume

actual fun currentVolume(): Float?
expect fun currentVolume(): Float?

Retrieves the current volume level of the player.

A value of 0.0 indicates silence. A value of 1.0 indicates full audio volume for the player instance.

Return

The current volume as a floating-point value, or null if it cannot be determined.

actual fun currentVolume(): Float?
actual fun currentVolume(): Float?
actual fun currentVolume(): Float?