setAutoPlay method

Future<void> setAutoPlay(
  1. bool isAutoPlay
)

设置是否自动播放

Implementation

Future<void> setAutoPlay(bool isAutoPlay) async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('setAutoPlay', wrapWithPlayerId(arg: isAutoPlay));
}