ios_stopAudioRecordingDeviceTest method

Future<int?> ios_stopAudioRecordingDeviceTest()

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

Implementation

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

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