This class is deprecated.
The standalone ML Kit SDK replaces this API. For more information, refer to the migration guide.
A language identified by
identifyPossibleLanguages(String)
.
Public Method Summary
boolean | |
float |
getConfidence()
Returns the confidence score associated with the language.
|
String |
getLanguageCode()
Returns the BCP-47 language code for the language.
|
int |
hashCode()
|
String |
toString()
|
Inherited Method Summary
Public Methods
public boolean equals (Object o)
public float getConfidence ()
Returns the confidence score associated with the language. The value is between 0
and 1, and greater or equal to the confidence threshold specified for
identifyPossibleLanguages(String)
in
FirebaseLanguageIdentificationOptions
.
public String getLanguageCode ()
Returns the BCP-47 language code for the language.