FirebaseVisionCloudDetectorOptions.Builder

public static class FirebaseVisionCloudDetectorOptions.Builder extends Object

Public Constructor Summary

Public Method Summary

FirebaseVisionCloudDetectorOptions
FirebaseVisionCloudDetectorOptions.Builder
enforceCertFingerprintMatch()
Only allow registered application instances with matching certificate fingerprint to use Cloud Vision API.
FirebaseVisionCloudDetectorOptions.Builder
setMaxResults(int maxResults)
Sets maximum number of results of this type.
FirebaseVisionCloudDetectorOptions.Builder
setModelType(int model)
Sets model type for the detection.

Inherited Method Summary

Public Constructors

public FirebaseVisionCloudDetectorOptions.Builder ()

Public Methods

public FirebaseVisionCloudDetectorOptions.Builder enforceCertFingerprintMatch ()

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.

public FirebaseVisionCloudDetectorOptions.Builder setMaxResults (int maxResults)

Sets maximum number of results of this type. It will be ignored by FirebaseVisionDocumentTextRecognizer.

Default is 10.

public FirebaseVisionCloudDetectorOptions.Builder setModelType (int model)

Sets model type for the detection.

Default is STABLE_MODEL.