FirebaseTranslatorOptions

public class FirebaseTranslatorOptions extends Object

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

Public Method Summary

boolean
int
String
getSourceLanguageCode()
Returns BCP-47 language code for the language to translate from.
int
String
getTargetLanguageCode()
Returns BCP-47 language tag for the language to translate to.
int

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.

public int hashCode ()