public class HealthInsuranceCardScannerConfiguration
Class which is used to configure io.scanbot.sdk.ui.view.hic.HealthInsuranceCardScannerActivity Contains settings indicating views Behaviour, Texts and Appearance
public HealthInsuranceCardScannerConfiguration()
Class which is used to configure io.scanbot.sdk.ui.view.hic.HealthInsuranceCardScannerActivity Contains settings indicating views Behaviour, Texts and Appearance
@NotNull public java.util.Map<java.lang.String,java.io.Serializable> getHicCameraConfiguration()
public void setFlashEnabled(boolean flashEnabled)
Controls whether the flash should be initially enabled. The default value is FALSE.
public void setValidationType(@NotNull
io.scanbot.hicscanner.HealthInsuranceCardValidationType validationType)
set initialise global health insurance card scanner with provided validation type default value will be the same as last setup for health insurance card scanner
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 setCameraOverlayColor(int cameraOverlayColor)
Background color outside of the finder window.
public void setFinderLineWidth(int finderLineWidth)
Thickness of the finder window's outline.
public void setFinderLineColor(int finderLineColor)
Color of the finder window's outline.
public void setFinderTextHintColor(int finderTextHintColor)
Color of the text hint under the finder window.
public void setCancelButtonTitle(@NotNull
java.lang.String cancelButtonTitle)
Title of the cancel button.
public void setFinderTextHint(@NotNull
java.lang.String finderTextHint)
Text hint shown under the finder window.
public 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 setDetectionStatusFailedDetectionText(@NotNull
java.lang.String detectionStatusFailedDetectionText)
String being displayed when health insurance card was not found.
public void setDetectionStatusFailedValidationText(@NotNull
java.lang.String detectionStatusFailedValidationText)
String being displayed when health insurance card was found but not recognized.
public void setDetectionStatusSuccessText(@NotNull
java.lang.String detectionStatusSuccessText)
String being displayed when health insurance card was found and recognized.
public void setUseButtonsAllCaps(boolean allCaps)
Controls whether buttons should use all capitals style