語言

SpeechRecognizer.CheckRecognitionSupport 方法

定義

檢查是否 recognizerIntent 由 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

參數

recognizerIntent
Intent

包含要執行識別的參數。 意圖中也可能包含可選的額外內容。 請參閱 RecognizerIntent 支援的額外內容清單,未列出的額外內容可能會被忽略。

executor
IExecutor

回調與監聽事件會透過此執行器執行,該執行器控制用於派遣的執行緒。

supportListener
IRecognitionSupportCallback

接收支援查詢結果的聆聽者。

屬性

備註

檢查是否 recognizerIntent 由 SpeechRecognizer#startListening(Intent)支持 。

Java 文件 android.speech.SpeechRecognizer.checkRecognitionSupport(android.content.Intent, java.util.concurrent.Executor, android.speech.RecognitionSupportCallback)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於