moveToPre method
当前位置移动到上一个进行准备播放 没有入参是url播放方式;有入参是sts播放方式,需要更新sts信息
Implementation
Future<void> moveToPre({
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("moveToPre", wrapWithPlayerId(arg: info));
}