IdentifiedLanguage

public final class IdentifiedLanguage extends Object

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
String

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.

See Also

public int hashCode ()

public String toString ()