# SpeechSynthesizerResponse.StatusUpdate


```
public final class SpeechSynthesizerResponse.StatusUpdate extends SpeechSynthesizerResponse
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerResponse](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse) ||
|   | ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerResponse.StatusUpdate](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.StatusUpdate) |

*** ** * ** ***

Emitted when the lifecycle status of the synthesis changes.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.StatusUpdate#StatusUpdate(com.google.mlkit.genai.texttospeech.SpeechSynthesizerResponse.Status)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.Status status)` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.Status` | `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerResponse.StatusUpdate#getStatus()()` |

## Public constructors

### StatusUpdate

```
public StatusUpdate(@NonNull SpeechSynthesizerResponse.Status status)
```

## Public methods

### getStatus

```
public final @NonNull SpeechSynthesizerResponse.Status getStatus()
```