SpeechRecognizer.CheckRecognitionSupport Método

Definición

Comprueba si recognizerIntent es compatible con SpeechRecognizer#startListening(Intent).

[Android.Runtime.Register("checkRecognitionSupport", "(Landroid/content/Intent;Ljava/util/concurrent/Executor;Landroid/speech/RecognitionSupportCallback;)V", "GetCheckRecognitionSupport_Landroid_content_Intent_Ljava_util_concurrent_Executor_Landroid_speech_RecognitionSupportCallback_Handler", ApiSince=33)]
public virtual void CheckRecognitionSupport(Android.Content.Intent recognizerIntent, Java.Util.Concurrent.IExecutor executor, Android.Speech.IRecognitionSupportCallback supportListener);
[<Android.Runtime.Register("checkRecognitionSupport", "(Landroid/content/Intent;Ljava/util/concurrent/Executor;Landroid/speech/RecognitionSupportCallback;)V", "GetCheckRecognitionSupport_Landroid_content_Intent_Ljava_util_concurrent_Executor_Landroid_speech_RecognitionSupportCallback_Handler", ApiSince=33)>]
abstract member CheckRecognitionSupport : Android.Content.Intent * Java.Util.Concurrent.IExecutor * Android.Speech.IRecognitionSupportCallback -> unit
override this.CheckRecognitionSupport : Android.Content.Intent * Java.Util.Concurrent.IExecutor * Android.Speech.IRecognitionSupportCallback -> unit

Parámetros

recognizerIntent
Intent

contiene parámetros para que se realice el reconocimiento. La intención también puede contener extras opcionales. Consulte RecognizerIntent para obtener la lista de extras admitidos, es posible que se omita cualquier extra sin incluir en la lista.

executor
IExecutor

Los eventos de devolución de llamada y agente de escucha se envían a través de este ejecutor, que controla el subproceso usado para el envío.

supportListener
IRecognitionSupportCallback

el agente de escucha en el que se van a recibir los resultados de la consulta de soporte técnico.

Atributos

Comentarios

Comprueba si recognizerIntent es compatible con SpeechRecognizer#startListening(Intent).

Java documentación para android.speech.SpeechRecognizer.checkRecognitionSupport(android.content.Intent, java.util.concurrent.Executor, android.speech.RecognitionSupportCallback).

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