# SpeechTranslation


```
public static class SpeechTranslation
```

<br />

*** ** * ** ***

Entry point to get a `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslator` for speech translation.

## Summary

| ### Public fields |
|---|---|
| `static @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslation` | `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslation#INSTANCE()` |

| ### Public methods |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslator` | `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslation#getClient(com.google.mlkit.genai.speechtranslation.SpeechTranslatorOptions)(@https://developer.android.com/reference/androidx/annotation/NonNull.html https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslatorOptions options)` Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslator` with the specified options. |

## Public fields

### INSTANCE

```
public static @NonNull SpeechTranslation INSTANCE
```

## Public methods

### getClient

```
public static final @NonNull SpeechTranslator getClient(@NonNull SpeechTranslatorOptions options)
```

Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/genai/speechtranslation/SpeechTranslator` with the specified options.