getVolume

fun getVolume(): Float

Gets the playback volume.

Return

float value above 0.0f if getVolume successfully otherwise -1.0f.