SpeechRecognizer.IsRecognitionAvailable(Context) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.