public class LicensePlateScannerConfiguration
Class which is used to configure io.scanbot.sdk.ui.view.licenseplate.LicensePlateScannerActivity Contains settings indicating views Behaviour, Texts and Appearance
public LicensePlateScannerConfiguration()
Class which is used to configure io.scanbot.sdk.ui.view.licenseplate.LicensePlateScannerActivity Contains settings indicating views Behaviour, Texts and Appearance
@NotNull public java.util.Map<java.lang.String,java.io.Serializable> getLicensePlateScannerConfiguration()
public void setFlashEnabled(boolean flashEnabled)
Controls whether the flash should be initially enabled. The default value is FALSE.
public void setOrientationLockMode(@NotNull
io.scanbot.sdk.ui.view.base.configuration.CameraOrientationMode cameraOrientationMode)
Orientation lock mode of the camera: PORTRAIT or LANDSCAPE. By default the camera orientation is not locked.
public void setCameraModule(@NotNull
io.scanbot.sdk.camera.CameraModule cameraModule)
Set supported camera module: CameraModule.BACK, CameraModule.FRONT or others. Optional. By default is CameraModule.BACK.
public void setTopBarBackgroundColor(int topBarBackgroundColor)
Background color of the top toolbar.
public void setTopBarButtonsColor(int topBarButtonsColor)
Color of the titles of all buttons in the top toolbar.
public void setTopBarButtonsInactiveColor(int topBarButtonsInactiveColor)
Color of the titles of all buttons in the top toolbar.
public void setCameraOverlayColor(int cameraOverlayColor)
Background color outside of the finder window.
public void setFinderLineWidth(@Px
int finderLineWidth)
Thickness of the finder window's outline.
public void setFinderLineColor(int finderLineColor)
Color of the finder window's outline.
public void setCancelButtonTitle(@NotNull
java.lang.String cancelButtonTitle)
Title of the cancel button.
public void setConfirmationDialogTitle(@NotNull
java.lang.String title)
Confirmation dialog title
public void setConfirmationDialogMessage(@NotNull
java.lang.String message)
Confirmation dialog message
public void setConfirmationDialogConfirmButtonTitle(@NotNull
java.lang.String confirmButton)
Confirmation dialog confirm button text
public void setConfirmationDialogRetryButtonTitle(@NotNull
java.lang.String retryButton)
Confirmation dialog retry button text
public void setConfirmationDialogAccentColor(int dialogAccentColor)
The accent color of buttons on a confirmation dialog
public void setConfirmationDialogConfirmButtonFilled(boolean buttonFilled)
Allows to set if the confirm button should be filled
public void setConfirmationDialogConfirmButtonFilledTextColor(int textColor)
Allows to set a text color of the filled button. See setConfirmationDialogConfirmButtonFilled
setConfirmationDialogConfirmButtonFilledpublic void setEnableCameraExplanationText(@NotNull
java.lang.String enableCameraExplanationText)
Text that will be displayed when the app is not allowed to use the camera, prompting the user to enable the usage of the camera.
public void setEnableCameraButtonTitle(@NotNull
java.lang.String enableCameraButtonTitle)
Title of the button that opens the screen where the user can allow the usage of the camera by the app.
public void setMinNumberOfRequiredFramesWithEqualRecognitionResult(int numberOfFrames)
Minimum number of accumulated frames that have equal result
public void setMaximumNumberOfAccumulatedFrames(int numberOfFrames)
Maximum number of accumulated frames to inspect before actual result is returned
public void setUseButtonsAllCaps(boolean allCaps)
Controls whether buttons should use all capitals style
public void setFinderTextHint(@NotNull
java.lang.String finderTextHint)
User guidance text below the finder view
public void setFinderTextHintColor(int finderTextHintColor)
The color of the text with user guidance below the finder view
public void setScanStrategy(@NotNull
io.scanbot.sdk.licenseplate.LicensePlateScanStrategy scanStrategy)
Additional parameter to set the type of the scanned object. @see LicensePlateScanStrategy. Default is LicensePlateScanStrategy.LicensePlateML
public void setSignificantShakeDelay(long significantShakeDelay)
Detection will be paused after significant movement Default is 1000