SpeechTranslatorResponse.Text

data class SpeechTranslatorResponse.Text : SpeechTranslatorResponse


Represents a successful text translation result.

Summary

Public constructors

Text(locale: Locale, translatedText: String)

Public properties

Locale

the Locale of the translated text.

String

the string of the translated text.

Public constructors

Text

Text(locale: Locale, translatedText: String)

Public properties

locale

val locale: Locale

the Locale of the translated text.

translatedText

val translatedText: String

the string of the translated text.