enableEngineStrategy static method

Future<void> enableEngineStrategy({
  1. required TTVideoEngineStrategyType strategyType,
  2. required TTVideoEngineStrategyScene scene,
})

Enable engine strategy, open ViewController settings enable strategy, do not repeat settings

Implementation

static Future<void> enableEngineStrategy(
    {required TTVideoEngineStrategyType strategyType, required TTVideoEngineStrategyScene scene}) async {
  await _methodChannel.invokeMethod<bool>('enableEngineStrategy', {
    'strategyType': strategyType.index,
    'scene': scene.index,
  });
}