updatePreloadConfig method

Future<void> updatePreloadConfig(
  1. int value
)

设置ListPlayer 基准预加载时长

Implementation

Future<void> updatePreloadConfig(int value) async {
  //setPreloadDuration
  FlutterAliPlayerFactory.methodChannel
      .invokeMethod('updatePreloadConfig', wrapWithPlayerId(arg: value));
}