SpeechTranslation

public static class SpeechTranslation


Entry point to get a SpeechTranslator for speech translation.

Summary

Public fields

static @NonNull SpeechTranslation

Public methods

static final @NonNull SpeechTranslator

Creates a new instance of 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 SpeechTranslator with the specified options.