Udostępnij za pośrednictwem


AlwaysOnHotwordDetector.RecognitionFlagEnableAudioEchoCancellation Field

Definition

Caution

This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.

Audio capabilities flag for #startRecognition(int) that indicates if the underlying recognition should use AEC.

[Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)]
public const Android.Service.Voice.RecognitionFlag RecognitionFlagEnableAudioEchoCancellation = 4;
[<Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Voice.RecognitionFlag enum directly instead of this field.", true)>]
val mutable RecognitionFlagEnableAudioEchoCancellation : Android.Service.Voice.RecognitionFlag

Field Value

Value = 4
Attributes

Remarks

Audio capabilities flag for #startRecognition(int) that indicates if the underlying recognition should use AEC. This capability may or may not be supported by the system, and support can be queried by calling #getSupportedAudioCapabilities(). The corresponding capabilities field for this flag is #AUDIO_CAPABILITY_ECHO_CANCELLATION. If this flag is passed without the audio capability supported, there will be no audio effect applied.

Java documentation for android.service.voice.AlwaysOnHotwordDetector.RECOGNITION_FLAG_ENABLE_AUDIO_ECHO_CANCELLATION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to