FIRVisionTextRecognizedLanguage.h 530 B

123456789101112131415161718192021222324
  1. #import <Foundation/Foundation.h>
  2. NS_ASSUME_NONNULL_BEGIN
  3. /**
  4. * Detected language from text recognition.
  5. */
  6. NS_SWIFT_NAME(VisionTextRecognizedLanguage)
  7. @interface FIRVisionTextRecognizedLanguage : NSObject
  8. /**
  9. * The BCP-47 language code, such as, "en-US" or "sr-Latn". For more information, see
  10. * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
  11. */
  12. @property(nonatomic, readonly, nullable) NSString *languageCode;
  13. /**
  14. * Unavailable.
  15. */
  16. - (instancetype)init NS_UNAVAILABLE;
  17. @end
  18. NS_ASSUME_NONNULL_END