Share via


IModelDownloadListener.OnError(SpeechRecognizerError) Method

Definition

A network or scheduling error occurred.

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

Parameters

error
SpeechRecognizerError

code is defined in SpeechRecognizer

Attributes

Remarks

A network or scheduling error occurred.

Java documentation for android.speech.ModelDownloadListener.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