getVolume

fun getVolume(): Float

Gets the playback volume.

Return

The playback volume in the range [0.0f, 1.0f] if successful; -1.0f otherwise.