Hi all
I used ExoPlayer to make a playlist for a number of audio files as follows:
Is there an event that rises at the end of each individual audio file playing? The event Player_Complete rises when the total playlist finishes.
The idea is that I have a text that should appear with each audio file.
I used ExoPlayer to make a playlist for a number of audio files as follows:
B4X:
Dim sources As List
sources.Initialize
sources.Add(player1.CreateFileSource(File.DirAssets, "0.mp3"))
sources.Add(player1.CreateFileSource(File.DirAssets, "1.mp3"))
sources.Add(player1.CreateFileSource(File.DirAssets, "2.mp3"))
sources.Add(player1.CreateFileSource(File.DirAssets, "3.mp3"))
player1.Prepare(player1.CreateListSource(sources))
player1.Play
Is there an event that rises at the end of each individual audio file playing? The event Player_Complete rises when the total playlist finishes.
The idea is that I have a text that should appear with each audio file.