FIRVisionCloudDocumentTextRecognizerOptions.h 857 B

1234567891011121314151617181920212223242526272829
  1. #import <Foundation/Foundation.h>
  2. NS_ASSUME_NONNULL_BEGIN
  3. /**
  4. * Options for a cloud document text recognizer.
  5. */
  6. NS_SWIFT_NAME(VisionCloudDocumentTextRecognizerOptions)
  7. @interface FIRVisionCloudDocumentTextRecognizerOptions : NSObject
  8. /**
  9. * An array of hinted language codes for cloud document text recognition. The default is `nil`. See
  10. * https://cloud.google.com/vision/docs/languages for supported language codes.
  11. */
  12. @property(nonatomic, copy, nullable) NSArray<NSString *> *languageHints;
  13. /**
  14. * API key to use for Cloud Vision API. If `nil`, the default API key from FirebaseApp will be used.
  15. */
  16. @property(nonatomic, copy, nullable) NSString *APIKeyOverride;
  17. /**
  18. * Designated initializer that creates a new instance of cloud document text recognizer options.
  19. */
  20. - (instancetype)init NS_DESIGNATED_INITIALIZER;
  21. @end
  22. NS_ASSUME_NONNULL_END