public static class Translate.LanguageListOption extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static Translate.LanguageListOption |
targetLanguage(String targetLanguage)
Returns an option for setting the target language.
|
String |
toString() |
public static Translate.LanguageListOption targetLanguage(String targetLanguage)
TranslateOptions.getTargetLanguage()
is used. When provided, the returned
Language.getName()
will be in the language specified by the targetLanguage
code.targetLanguage
- the target language codeCopyright © 2022 Google LLC. All rights reserved.