# SpeechSynthesizerRequest.Input.PreRecordedSpeech


```
public final class SpeechSynthesizerRequest.Input.PreRecordedSpeech extends SpeechSynthesizerRequest.Input
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerRequest.Input](https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input) ||
|   | ↳ | [com.google.mlkit.genai.texttospeech.SpeechSynthesizerRequest.Input.PreRecordedSpeech](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.

## Summary

| ### Public constructors |
|---|
| `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.PreRecordedSpeech#PreRecordedSpeech(kotlin.String)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html value)` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developer.android.com/reference/java/lang/String.html` | `https://developers.google.com/android/reference/com/google/mlkit/genai/texttospeech/SpeechSynthesizerRequest.Input.PreRecordedSpeech#getValue()()` |

## Public constructors

### PreRecordedSpeech

```
public PreRecordedSpeech(@NonNull String value)
```

## Public methods

### getValue

```
public final @NonNull String getValue()
```