SpeechRecognizer.IsRecognitionAvailable(Context) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查系統上是否有語音辨識服務。
[Android.Runtime.Register("isRecognitionAvailable", "(Landroid/content/Context;)Z", "")]
public static bool IsRecognitionAvailable(Android.Content.Context context);
[<Android.Runtime.Register("isRecognitionAvailable", "(Landroid/content/Context;)Z", "")>]
static member IsRecognitionAvailable : Android.Content.Context -> bool
參數
- context
- Context
SpeechRecognizer將被創造
傳回
true 若有 false 識別,否則
- 屬性
備註
檢查系統上是否有語音辨識服務。 若此方法返回 false,則 SpeechRecognizer#createSpeechRecognizer(Context) 將失敗。
Java 文件 android.speech.SpeechRecognizer.isRecognitionAvailable(android.content.Context)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。