Package | com.tuarua.firebase.ml.vision.cloud |
Class | public class CloudDetectorOptions |
Inheritance | CloudDetectorOptions ![]() |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
CloudDetectorOptions |
apiKeyOverride | property |
public var apiKeyOverride:String
API key to use for Cloud Vision API. If null
, the default API key from FirebaseApp will be
used.
enforceCertFingerprintMatch | property |
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.
maxResults | property |
public var maxResults:uint = 10
Maximum number of results to return. Defaults to 10. Does not apply to
CloudTextDetector
and CloudDocumentTextDetector
.
modelType | property |
public var modelType:uint = 0
Type of model to use in vision cloud detection API. Defaults to stable
.
CloudDetectorOptions | () | Constructor |
public function CloudDetectorOptions()