ExoPlayer (Media3)
I would like to know how to add an event listener to monitor the playing status.
Previous work was
ExoPlayer (Media3)
It doesn't work.
What should I do?
I would like to know how to add an event listener to monitor the playing status.
Previous work was
Exoplayer play/pause state
how do I get the status of the player? I have tried log(player1.pause) log(player1) and a few other futile attempts with no success. Is this possible?
www.b4x.com
ExoPlayer (Media3)
B4X:
Dim jo As JavaObject = player1
Dim event As Object = jo.CreateEventFromUI("androidx.media3.exoplayer.Player$EventListener", "statechanged", False)
jo.GetFieldJO("player").RunMethod("addListener", Array(event))
It doesn't work.
What should I do?