Android.Speech.Tts.ISynthesisCallback.Error Method
The service should call this method if the speech synthesis fails.

Syntax

[Android.Runtime.Register("error", "(I)V", "GetError_IHandler:Android.Speech.Tts.ISynthesisCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Error ([Android.Runtime.GeneratedEnum] TextToSpeechError errorCode)

Parameters

errorCode
Error code to pass to the client. One of the ERROR_ values from Android.Speech.Tts.TextToSpeech

Remarks

The service should call this method if the speech synthesis fails. This method should only be called on the synthesis thread, while in TextToSpeechService.OnSynthesizeText(SynthesisRequest, Android.Speech.Tts.ISynthesisCallback).

[Android Documentation]

Requirements

Namespace: Android.Speech.Tts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14