-
- All Implemented Interfaces:
-
org.readium.navigator.media.tts.TtsEngine.Error,org.readium.r2.shared.util.Error
public class AndroidTtsEngine.Error implements TtsEngine.Error
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAndroidTtsEngine.Error.UnknownDenotes a generic operation failure.
public classAndroidTtsEngine.Error.InvalidRequestDenotes a failure caused by an invalid request.
public classAndroidTtsEngine.Error.NetworkDenotes a failure caused by a network connectivity problems.
public classAndroidTtsEngine.Error.NetworkTimeoutDenotes a failure caused by network timeout.
public classAndroidTtsEngine.Error.NotInstalledYetDenotes a failure caused by an unfinished download of the voice data.
public classAndroidTtsEngine.Error.OutputDenotes a failure related to the output (audio device or a file).
public classAndroidTtsEngine.Error.ServiceDenotes a failure of a TTS service.
public classAndroidTtsEngine.Error.SynthesisDenotes a failure of a TTS engine to synthesize the given input.
public final classAndroidTtsEngine.Error.LanguageMissingDataDenotes the language data is missing.
You can open the Android settings to install the missing data with: AndroidTtsEngine.requestInstallVoice(context)
public classAndroidTtsEngine.Error.CompanionAndroid's TTS error code. See https://developer.android.com/reference/android/speech/tts/TextToSpeech#ERROR
-
Method Summary
Modifier and Type Method Description StringgetMessage()ErrorgetCause()-
-
Method Detail
-
getMessage
String getMessage()
-
getCause
Error getCause()
-
-
-
-