IRecognitionListener.OnError(SpeechRecognizerError) Method

Definition

A network or recognition error occurred.

[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnError (Android.Speech.SpeechRecognizerError error);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Speech.IRecognitionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnError : Android.Speech.SpeechRecognizerError -> unit

Parameters

error
SpeechRecognizerError

code is defined in SpeechRecognizer. Implementations need to handle any integer error constant to be passed here beyond constants prefixed with ERROR_.

Attributes

Remarks

A network or recognition error occurred.

Java documentation for android.speech.RecognitionListener.onError(int).

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