onAudioVolumeIndication property
Callback for media player audio volume indication.
The SDK triggers this callback every 200 milliseconds to report the current volume of the media player.
volumeCurrent volume of the media player, ranging from0,255.
Implementation
final void Function(int volume)? onAudioVolumeIndication;