stopHardwareEchoDetection method

FutureOr<int> stopHardwareEchoDetection()

@detail api @author zhangcaining @brief Stop the echo detection before joining a room. @return Method call result:
- 0: Success. - -1: Failure. @note - Refer to startHardwareEchoDetection:{@link #ByteRTCEngine#startHardwareEchoDetection} for information on how to start a echo detection. - We recommend calling this API to stop the detection once getting the detection result from rtcEngine:onHardwareEchoDetectionResult:{@link #ByteRTCEngineDelegate#rtcEngine:onHardwareEchoDetectionResult}. - You must stop the echo detection to release the audio devices before the user joins a room. Otherwise, the detection may interfere with the call.

Implementation

FutureOr<int> stopHardwareEchoDetection() async {
  return await nativeCall('stopHardwareEchoDetection', []);
}