MLKitLanguageID Framework Reference

MLKIdentifiedLanguage


@interface MLKIdentifiedLanguage : NSObject

An identified language for the given input text.

  • The BCP 47 language tag for the language.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull languageTag;
  • The confidence score of the language.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float confidence;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;