setSmoothSwitchEnable method

Future<void> setSmoothSwitchEnable(
  1. bool smoothSwitchEnable
)

Set smooth switch enable when config resolution, the default value is false, it needs to be set before calling play().

Implementation

Future<void> setSmoothSwitchEnable(bool smoothSwitchEnable) async {
  await engineInstanceMethodChannel.invokeMethod(
      'setSmoothSwitchEnable', smoothSwitchEnable);
}