resumeAll method

Future<int?> resumeAll()

@detail api @brief Resumes the playback of all audio effect files. @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details. @note After calling the pauseAll{@link #IAudioEffectPlayer#pauseAll} API to pause all the audio effect files being played, you can resume playback by calling this API.

Implementation

Future<int?> resumeAll() async {
  $a() => ($instance as $p_a.IAudioEffectPlayer).resumeAll();
  $i() => ($instance as $p_i.ByteRTCAudioEffectPlayer).resumeAll();

  if (Platform.isAndroid) {
    return $a();
  } else if (Platform.isIOS) {
    return $i();
  } else {
    throw UnsupportedError(
        'Not Support Platform ${Platform.operatingSystem}');
  }
}