SpeechRecognizer.LanguageDetectionConfidenceLevel Field

Definition

Key used to retrieve the level of confidence of the detected language of the most recent audio chunk, represented by an int value prefixed by LANGUAGE_DETECTION_CONFIDENCE_LEVEL_.

[Android.Runtime.Register("LANGUAGE_DETECTION_CONFIDENCE_LEVEL", ApiSince=34)]
public const string LanguageDetectionConfidenceLevel;
[<Android.Runtime.Register("LANGUAGE_DETECTION_CONFIDENCE_LEVEL", ApiSince=34)>]
val mutable LanguageDetectionConfidenceLevel : string

Field Value

Attributes

Remarks

Key used to retrieve the level of confidence of the detected language of the most recent audio chunk, represented by an int value prefixed by LANGUAGE_DETECTION_CONFIDENCE_LEVEL_.

This info is returned to the client in the Bundle passed to RecognitionListener#onLanguageDetection(Bundle) only if RecognizerIntent#EXTRA_ENABLE_LANGUAGE_DETECTION is set.

Java documentation for android.speech.SpeechRecognizer.LANGUAGE_DETECTION_CONFIDENCE_LEVEL.

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