playNextAudio static method
dynamic
playNextAudio()
Implementation
static playNextAudio() async {
Log.i(tag, "onPlayFinsihed");
_isPlaying=false;
int length=_playQueue.length;
Log.i(tag, "onPlayFinsihed:playQueue:$length");
//播放队列中的数据
if(_playQueue.isNotEmpty){
PlayItem playItem=_playQueue.first;
_playQueue.removeFirst();
await play(playItem.data, false,playItem.text);
}
}