RecognitionService.Callback.Error(SpeechRecognizerError) 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.
The service should call this method when a network or recognition error occurred.
[Android.Runtime.Register("error", "(I)V", "GetError_IHandler")]
public virtual void Error (Android.Speech.SpeechRecognizerError error);
[<Android.Runtime.Register("error", "(I)V", "GetError_IHandler")>]
abstract member Error : Android.Speech.SpeechRecognizerError -> unit
override this.Error : Android.Speech.SpeechRecognizerError -> unit
Parameters
- error
- SpeechRecognizerError
code is defined in SpeechRecognizer
- Attributes
Exceptions
Remarks
The service should call this method when a network or recognition error occurred.
Java documentation for android.speech.RecognitionService.Callback.error(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.