Sdílet prostřednictvím


AlwaysOnHotwordDetector.RecognitionFlagEnableAudioNoiseSuppression 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 noise suppression.

[Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION", 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 RecognitionFlagEnableAudioNoiseSuppression = 8;
[<Android.Runtime.Register("RECOGNITION_FLAG_ENABLE_AUDIO_NOISE_SUPPRESSION", 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 RecognitionFlagEnableAudioNoiseSuppression : Android.Service.Voice.RecognitionFlag

Field Value

Value = 8
Attributes

Remarks

Audio capabilities flag for #startRecognition(int) that indicates if the underlying recognition should use noise suppression. 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_NOISE_SUPPRESSION. 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_NOISE_SUPPRESSION.

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