SpeechSynthesisException

class SpeechSynthesisException(message: String, val errorCode: Int? = null, cause: Throwable? = null) : Exception

Speech synthesis failed.

Constructors

Link copied to clipboard
constructor(message: String, errorCode: Int? = null, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The TextToSpeech error code when the engine reported one, else null.

Link copied to clipboard
open val message: String?