# SpeechSynthesizerRequest.Input


```
public sealed class SpeechSynthesizerRequest.Input
```

<br />

Known direct subclasses [SpeechSynthesizerRequest.Input.Earcon](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Earcon), [SpeechSynthesizerRequest.Input.PreRecordedSpeech](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.PreRecordedSpeech), [SpeechSynthesizerRequest.Input.Text](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Text)

|---|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Earcon` | An earcon input containing the name of the earcon to play. |
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.PreRecordedSpeech` | A speech input containing the text string mapped to a pre-recorded audio file. |
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Text` | A text input containing the raw string to be synthesized. |

*** ** * ** ***

The input to be synthesized.

## Summary

| ### Nested types |
|---|
| `public final class https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Earcon extends https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input` An earcon input containing the name of the earcon to play. |
| `public final class https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.PreRecordedSpeech extends https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input` A speech input containing the text string mapped to a pre-recorded audio file. |
| `public final class https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.Text extends https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input` A text input containing the raw string to be synthesized. |

| ### Protected constructors |
|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input#Input()()` |

## Protected constructors

### Input

```
protected Input()
```