Class TranslationOptions
- java.lang.Object
-
- ai.rev.speechtotext.models.asynchronous.TranslationOptions
-
public class TranslationOptions extends Object
A TranslationOptions object represents translation parameters that are submitted along a new job.
-
-
Constructor Summary
Constructors Constructor Description TranslationOptions(List<TranslationLanguageOptions> targetLanguages)Creates TranslationOptions object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TranslationLanguageOptions>getTargetLanguages()Returns a list of language specific parameters
-
-
-
Constructor Detail
-
TranslationOptions
public TranslationOptions(List<TranslationLanguageOptions> targetLanguages)
Creates TranslationOptions object.- Parameters:
targetLanguages- a list of language specific parameters.
-
-
Method Detail
-
getTargetLanguages
public List<TranslationLanguageOptions> getTargetLanguages()
Returns a list of language specific parameters- Returns:
- List of language specific parameters
-
-