VisionCloudDetectorOptions

class VisionCloudDetectorOptions : NSObject

Generic options of a vision cloud detector.

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

    Declaration

    Swift

    var modelType: VisionCloudModelType { get set }
  • Maximum number of results to return. Defaults to 10. Does not apply to VisionCloudTextDetector and VisionCloudDocumentTextDetector.

    Declaration

    Swift

    var maxResults: UInt { get set }
  • API key to use for Cloud Vision API. If nil, the default API key from FirebaseApp will be used.

    Declaration

    Swift

    var apiKeyOverride: String? { get set }