Lenguaje

RecognitionPart.Builder.SetConfidenceLevel(RecognitionConfidenceLevel) Método

Definición

Nivel de confianza de esta parte si se solicita con RecognizerIntent.EXTRA_REQUEST_WORD_CONFIDENCE.

[Android.Runtime.Register("setConfidenceLevel", "(I)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)]
public Android.Speech.RecognitionPart.Builder SetConfidenceLevel(Android.Speech.RecognitionConfidenceLevel value);
[<Android.Runtime.Register("setConfidenceLevel", "(I)Landroid/speech/RecognitionPart$Builder;", "", ApiSince=34)>]
member this.SetConfidenceLevel : Android.Speech.RecognitionConfidenceLevel -> Android.Speech.RecognitionPart.Builder

Parámetros

value
RecognitionConfidenceLevel

El valor es uno de los siguientes: RecognitionPart.CONFIDENCE_LEVEL_UNKNOWN; RecognitionPart.CONFIDENCE_LEVEL_LOW; RecognitionPart.CONFIDENCE_LEVEL_MEDIUM_LOW; RecognitionPart.CONFIDENCE_LEVEL_MEDIUM; RecognitionPart.CONFIDENCE_LEVEL_MEDIUM_HIGH; RecognitionPart.CONFIDENCE_LEVEL_HIGH

Devoluciones

Atributos

Comentarios

Nivel de confianza de esta parte si se solicita con RecognizerIntent.EXTRA_REQUEST_WORD_CONFIDENCE.

De lo contrario, esto debe ser igual a RecognitionPart.CONFIDENCE_LEVEL_UNKNOWN.

Referencia de Android para android.speech.RecognitionPart.Builder.setConfidenceLevel.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a