FirebaseLanguageIdentificationOptions.Builder

public static class FirebaseLanguageIdentificationOptions.Builder extends Object

Builder to create a FirebaseLanguageIdentificationOptions instance.

Public Constructor Summary

Public Method Summary

FirebaseLanguageIdentificationOptions
FirebaseLanguageIdentificationOptions.Builder
setConfidenceThreshold(float confidenceThreshold)
Sets the minimum confidence for the identifyLanguage(String) or identifyPossibleLanguages(String) call.

Inherited Method Summary

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.