public static class ThreeStepsFlowController.Builder extends Object
| Constructor and Description |
|---|
Builder(Activity activity,
ThreeStepsFlowController.ThreeStepsCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
ThreeStepsFlowController |
build()
Builds a "three steps" controller.
|
ThreeStepsFlowController.Builder |
cropType(CropType ct)
Defines the type of crop to perform on the scan(fingerprint or QR code)
|
ThreeStepsFlowController.Builder |
isQa(boolean qa)
Defines if the manager is used in a QA app or not.
|
ThreeStepsFlowController.Builder |
startZoomedOut(boolean zoom)
Defines if the camera starts zoomed out or not.
|
public Builder(Activity activity, ThreeStepsFlowController.ThreeStepsCallback callback)
public ThreeStepsFlowController.Builder cropType(CropType ct)
Default is CropType.FP.
ct - the crop typeThreeStepsFlowController.Builderpublic ThreeStepsFlowController.Builder isQa(boolean qa)
qa - true if the context of the scan is the printing quality assuranceThreeStepsFlowController.Builderpublic ThreeStepsFlowController.Builder startZoomedOut(boolean zoom)
Default: true --> zoomed out
zoom - true to start zoomed outThreeStepsFlowController.Builderpublic ThreeStepsFlowController build() throws CameraAccessException
ThreeStepsFlowControllerCameraAccessException - if something went wrong with the camera setup.