ios_stopAudioDeviceLoopbackTest method

Future<int?> ios_stopAudioDeviceLoopbackTest()

@platform ios @detail api @author dixing @brief Stop audio device loop testing. @return Method call result
- 0: Success. - < 0: failure @note - This method do not rely on rtcEngine - After calling startAudioDeviceLoopbackTest:{@link #ByteRTCAudioDeviceManager#startAudioDeviceLoopbackTest}, you need to call this method to stop the test.

Implementation

Future<int?> ios_stopAudioDeviceLoopbackTest() async {
  $() => ($instance as $p_i.ByteRTCAudioDeviceManager)
      .stopAudioDeviceLoopbackTest();

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