enableInEarMonitoring abstract method
Future<void>
enableInEarMonitoring({
- required bool enabled,
- required EarMonitoringFilterType includeAudioFilters,
Enables in-ear monitoring.
This method enables or disables in-ear monitoring. The user must use headphones (wired or Bluetooth) to hear the in-ear monitoring effect.
enabledEnable/disable in-ear monitoring: true : Enable in-ear monitoring. false : (Default) Disable in-ear monitoring.includeAudioFiltersThe audio filter type for in-ear monitoring. See EarMonitoringFilterType.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.
Implementation
Future<void> enableInEarMonitoring(
{required bool enabled,
required EarMonitoringFilterType includeAudioFilters});