mediaPlayerEnableAux method

Future<void> mediaPlayerEnableAux(
  1. int index,
  2. bool enable
)

Implementation

Future<void> mediaPlayerEnableAux(int index, bool enable) async {
  if (_mediaPlayers[index] == null) {
    return;
  }
  ZegoFlutterEngine.instance
      .mediaPlayerEnableAux(enable, _mediaPlayers[index].instance);
}