Share via


SpeechRecognizer.IsRecognitionAvailable(Context) Method

Definition

Checks whether a speech recognition service is available on the system.

[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

Parameters

context
Context

with which SpeechRecognizer will be created

Returns

true if recognition is available, false otherwise

Attributes

Remarks

Checks whether a speech recognition service is available on the system. If this method returns false, SpeechRecognizer#createSpeechRecognizer(Context) will fail.

Java documentation for android.speech.SpeechRecognizer.isRecognitionAvailable(android.content.Context).

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