# MLKitLanguageID Framework Reference

# Constants

The following constants are available globally.
- `


  ### [MLKUndeterminedLanguageTag](https://developers.google.com/ml-kit/reference/swift/mlkitlanguageid/api/reference/Constants#/c:@MLKUndeterminedLanguageTag)


  ` The [BCP 47 language tag](https://tools.ietf.org/rfc/bcp/bcp47.txt) for an undetermined
  - language.
- `


  ### [DefaultIdentifyLanguageConfidenceThreshold](https://developers.google.com/ml-kit/reference/swift/mlkitlanguageid/api/reference/Constants#/c:@kMLKDefaultIdentifyLanguageConfidenceThreshold)


  ` @memberof `https://developers.google.com/ml-kit/reference/swift/mlkitlanguageid/api/reference/Classes/LanguageIdentificationOptions`
  The default confidence threshold for identifying the main language in the given input text.

  #### Declaration

  Swift

      let DefaultIdentifyLanguageConfidenceThreshold: Float

- `


  ### [DefaultIdentifyPossibleLanguagesConfidenceThreshold](https://developers.google.com/ml-kit/reference/swift/mlkitlanguageid/api/reference/Constants#/c:@kMLKDefaultIdentifyPossibleLanguagesConfidenceThreshold)


  ` @memberof `https://developers.google.com/ml-kit/reference/swift/mlkitlanguageid/api/reference/Classes/LanguageIdentificationOptions`
  The default confidence threshold for identifying possible languages in the given input text.

  #### Declaration

  Swift

      let DefaultIdentifyPossibleLanguagesConfidenceThreshold: Float