Udostępnij za pośrednictwem


RecognitionService.SupportCallback.OnError(Int32) Method

Definition

The service should call this method when an error occurred and can't satisfy the support request.

[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=33)]
public virtual void OnError (int errorCode);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler", ApiSince=33)>]
abstract member OnError : int -> unit
override this.OnError : int -> unit

Parameters

errorCode
Int32

code is defined in SpeechRecognizer

Attributes

Remarks

The service should call this method when an error occurred and can't satisfy the support request.

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