Dela via


SpeechRecognizer.CheckRecognitionSupport Method

Definition

Checks whether recognizerIntent is supported by 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

Parameters

recognizerIntent
Intent

contains parameters for the recognition to be performed. The intent may also contain optional extras. See RecognizerIntent for the list of supported extras, any unlisted extra might be ignored.

executor
IExecutor
supportListener
IRecognitionSupportCallback

the listener on which to receive the support query results.

Attributes

Remarks

Checks whether recognizerIntent is supported by SpeechRecognizer#startListening(Intent).

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

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to