amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.realtime / DefaultRealtimeController / realtimeSetVoiceFocusEnabled

# realtimeSetVoiceFocusEnabled

`fun realtimeSetVoiceFocusEnabled(enabled: Boolean): Boolean`

Enable or disable Amazon Voice Focus (ML-based noise suppression) on the audio input.

Amazon Voice Focus is disabled by default when audioClient starts.

### Parameters

`enabled` - : Boolean - whether to enable Amazon Voice Focus or not

Return
Boolean whether the enable/disable action succeeded