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

class FirebaseTranslatorOptions.Builder Builder to create a FirebaseTranslatorOptions instance. 

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

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 ()