SpeechRecognizer.CheckRecognitionSupport Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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).
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.