Idioma

SpeechRecognizer.CheckRecognitionSupport Método

Definição

Verifica se recognizerIntent há suporte para 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

contém parâmetros para o reconhecimento a ser executado. A intenção também pode conter extras opcionais. Confira RecognizerIntent a lista de extras com suporte, qualquer extra não listado pode ser ignorado.

executor
IExecutor

Os eventos de retorno de chamada e ouvinte são expedidos por meio desse executor, que controla o thread usado para expedição.

supportListener
IRecognitionSupportCallback

o ouvinte no qual receber os resultados da consulta de suporte.

Atributos

Comentários

Verifica se recognizerIntent há suporte para SpeechRecognizer#startListening(Intent).

Java documentação para android.speech.SpeechRecognizer.checkRecognitionSupport(android.content.Intent, java.util.concurrent.Executor, android.speech.RecognitionSupportCallback).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a