MLKitTextRecognitionCommon Framework Reference
MLKTextRecognizedLanguage
@interface MLKTextRecognizedLanguage : NSObject
Detected language from text recognition.
-
The ISO 639-1 two-letter language code if that is defined (e.g. “en”), or else the ISO 639-2
three-letter code if that is defined, or else a Google-specific code.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *languageCode;
-
Declaration
Objective-C
- (nonnull instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["`MLKTextRecognizedLanguage` provides the detected language from text recognition."],["Language is identified by `languageCode` which can be a two-letter (ISO 639-1), three-letter (ISO 639-2), or Google-specific code."],["The `init` method is unavailable for direct instantiation."]]],[]]