class TrackScheduler : AudioEventAdapter
TrackScheduler(player: AudioPlayer) |
var lastTrack: AudioTrack? |
|
val player: AudioPlayer |
|
val queue: Queue<AudioTrack> |
|
var repeating: Boolean |
fun isRepeating(): Boolean |
|
fun nextTrack(): Unit
Start the next track, stopping the current one if it is playing. |
|
fun onTrackEnd(player: AudioPlayer?, track: AudioTrack?, endReason: AudioTrackEndReason): Unit |
|
fun queue(track: AudioTrack): Unit
Add the next track to queue or play right away if nothing is in the queue. |
|
fun setRepeating(repeating: Boolean): Unit |
|
fun shuffle(): Unit |