startPreloadWithIndex static method

Future<void> startPreloadWithIndex({
  1. required int index,
})

Start preloading immediately from the specified location, with the number of preloaded items set to the default configuration. @param index the start index of preload playlist

Implementation

static Future<void> startPreloadWithIndex({required int index}) async {
  TTFLogger.e('TTVideoEngineStrategy', 'startPreloadWithIndex, index:$index');
  await _methodChannel.invokeMethod<void>('startPreloadWithIndex', index);
}