onHardwareEchoDetectionResult property
FutureOr<void> Function(HardwareEchoDetectionResult result)?
onHardwareEchoDetectionResult
getter/setter pair
@detail callback
@brief Callback that notifies you the result of the echo detection before a call
@param hardwareEchoDetectionResult Refer to HardwareEchoDetectionResult{@link #HardwareEchoDetectionResult} for more details.
@note
- This callback notifies you the result of the echo detection by calling startHardwareEchoDetection{@link #RTCEngine#startHardwareEchoDetection}.
- We recommend to call stopHardwareEchoDetection{@link #RTCEngine#stopHardwareEchoDetection} to stop the detection.
- Listen to MEDIA_DEVICE_WARNING_DETECT_LEAK_ECHO in the callback of onAudioDeviceWarning{@link #IRTCEngineEventHandler#onAudioDeviceWarning} for the echo issue during a call.
Implementation
FutureOr<void> Function(HardwareEchoDetectionResult result)?
onHardwareEchoDetectionResult;