# SpeechSynthesizerResponse.AudioAvailable


```
data class SpeechSynthesizerResponse.AudioAvailable : SpeechSynthesizerResponse
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerResponse](https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse) ||
|   | ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerResponse.AudioAvailable](https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.AudioAvailable) |

*** ** * ** ***

Emitted when a chunk of synthesized audio is available.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.AudioAvailable#AudioAvailable(kotlin.ByteArray)(audio: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html` | `https://developers.google.com/android/reference/kotlin/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.AudioAvailable#audio()` |

## Public constructors

### AudioAvailable

```
AudioAvailable(audio: ByteArray)
```

## Public properties

### audio

```
val audio: ByteArray
```