Langue

SpeechRecognizer.CheckRecognitionSupport Méthode

Définition

Vérifie si recognizerIntent elle est prise en charge par 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

Paramètres

recognizerIntent
Intent

contient des paramètres pour l’exécution de la reconnaissance. L’intention peut également contenir des extras facultatifs. Pour RecognizerIntent obtenir la liste des extras pris en charge, tous les extras non répertoriés peuvent être ignorés.

executor
IExecutor

Les événements de rappel et d’écouteur sont distribués via cet exécuteur, qui contrôle le thread utilisé pour la distribution.

supportListener
IRecognitionSupportCallback

écouteur sur lequel recevoir les résultats de la requête de support.

Attributs

Remarques

Vérifie si recognizerIntent elle est prise en charge par SpeechRecognizer#startListening(Intent).

Java documentation pour android.speech.SpeechRecognizer.checkRecognitionSupport(android.content.Intent, java.util.concurrent.Executor, android.speech.RecognitionSupportCallback).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à