Packagecom.tuarua.firebase.ml.vision.cloud
Classpublic class CloudDetectorOptions
InheritanceCloudDetectorOptions Inheritance Object



Public Properties
 PropertyDefined By
  apiKeyOverride : String
API key to use for Cloud Vision API.
CloudDetectorOptions
  enforceCertFingerprintMatch : Boolean
Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API.
CloudDetectorOptions
  maxResults : uint = 10
Maximum number of results to return.
CloudDetectorOptions
  modelType : uint = 0
Type of model to use in vision cloud detection API.
CloudDetectorOptions
Public Methods
 MethodDefined By
  
CloudDetectorOptions
Property Detail
apiKeyOverrideproperty
public var apiKeyOverride:String

API key to use for Cloud Vision API. If null, the default API key from FirebaseApp will be used.

enforceCertFingerprintMatchproperty 
public var enforceCertFingerprintMatch:Boolean

Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API.

Do not set this for debug build if you use simulators to test.

Applies to Android only.

maxResultsproperty 
public var maxResults:uint = 10

Maximum number of results to return. Defaults to 10. Does not apply to CloudTextDetector and CloudDocumentTextDetector.

modelTypeproperty 
public var modelType:uint = 0

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

Constructor Detail
CloudDetectorOptions()Constructor
public function CloudDetectorOptions()