This class is deprecated.
The standalone ML Kit SDK replaces this API. For more information, refer to the migration guide.
Options for
FirebaseTranslator
Nested Class Summary
| class | FirebaseTranslatorOptions.Builder | Builder to create a
FirebaseTranslatorOptions instance. |
|
Public Method Summary
| boolean | |
| int |
getSourceLanguage()
Returns the
FirebaseTranslateLanguage.TranslateLanguage to translate from.
|
| String |
getSourceLanguageCode()
Returns BCP-47 language code for the language to translate from.
|
| int |
getTargetLanguage()
Returns the
FirebaseTranslateLanguage.TranslateLanguage to translate to.
|
| String |
getTargetLanguageCode()
Returns BCP-47 language tag for the language to translate to.
|
| int |
hashCode()
|
Inherited Method Summary
Public Methods
public boolean equals (Object o)
public int getSourceLanguage ()
Returns the
FirebaseTranslateLanguage.TranslateLanguage to translate from.
public String getSourceLanguageCode ()
Returns BCP-47 language code for the language to translate from.
public int getTargetLanguage ()
Returns the
FirebaseTranslateLanguage.TranslateLanguage to translate to.
public String getTargetLanguageCode ()
Returns BCP-47 language tag for the language to translate to.