SpeechTranslatorResponse.Audio

data class SpeechTranslatorResponse.Audio : SpeechTranslatorResponse


Represents a successful audio output result.

Summary

Public constructors

Audio(locale: Locale, audioBytes: ByteArray)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

ByteArray

the raw audio bytes of the translated audio.

Locale

the Locale of the translated audio.

Public constructors

Audio

Audio(locale: Locale, audioBytes: ByteArray)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

audioBytes

val audioBytes: ByteArray

the raw audio bytes of the translated audio.

locale

val locale: Locale

the Locale of the translated audio.