SpeechError

class SpeechError

The state is returned if there is an error retrieving the voice instruction

Parameters

errorMessage

an error message

throwable

an optional throwable value expressing the error

fallback

represents the raw announcement (without file) that can be played with a text-to-speech engine.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

errorMessage
Link copied to clipboard
val errorMessage: String
an error message
fallback
Link copied to clipboard
val fallback: SpeechAnnouncement
represents the raw announcement (without file) that can be played with a text-to-speech engine.
throwable
Link copied to clipboard
val throwable: Throwable?
an optional throwable value expressing the error