moveToNext method
当前位置移动到下一个进行准备播放 没有入参是url播放方式;有入参是sts播放方式,需要更新sts信息
Implementation
Future<void> moveToNext(
{String? accId, String? accKey, String? token, String? region}) async {
Map<String, dynamic> info = {
'accId': accId,
'accKey': accKey,
'token': token,
'region': region
};
return FlutterAliPlayerFactory.methodChannel
.invokeMethod("moveToNext", wrapWithPlayerId(arg: info));
}