FIRVisionCloudDetectorOptions


@interface FIRVisionCloudDetectorOptions : NSObject

Generic options of a vision cloud detector.

  • Type of model to use in vision cloud detection API. Defaults to .stable.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) FIRVisionCloudModelType modelType;
  • Maximum number of results to return. Defaults to 10. Does not apply to VisionCloudTextDetector and VisionCloudDocumentTextDetector.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger maxResults;
  • API key to use for Cloud Vision API. If nil, the default API key from FirebaseApp will be used.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *APIKeyOverride;