FirebaseLanguageIdentificationOptions.Builder

public static class FirebaseLanguageIdentificationOptions.Builder extends Object

Builder to create a FirebaseLanguageIdentificationOptions instance.

Public Constructor Summary

Public Method Summary

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 Constructors

public FirebaseLanguageIdentificationOptions.Builder ()

Public Methods

public FirebaseLanguageIdentificationOptions.Builder setConfidenceThreshold (float confidenceThreshold)

Sets the minimum confidence for the identifyLanguage(String) or identifyPossibleLanguages(String) call.

If no value is set, a default value is used, depending on the method call.

Parameters
confidenceThreshold The minimum confidence for the identifyLanguage(String) or identifyPossibleLanguages(String) call.
Returns
  • This object, for chaining method calls.

Developer documentation for Firebase

Updated Aug 19, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 20, 2025

Firebase ML lets you add powerful machine learning features to your app with ready-to-use APIs and support for custom model deployment.

Updated Feb 21, 2025