UISettings interface

Settings for tuning the user interface appearance.

The elements of the user interface can be customized according to the implementation of your application needs and its design. The buttons for enabling flashlight or manual capturing can be hidden.

interface UISettings

Methods

 Important! All methods should be called from the Android Main Thread.

Name Description
setAutoCaptureButtonVisible Shows or hides the button for automatic capture.
isAutoCaptureButtonVisible Checks if the button for automatic capture is visible.
setCancelButtonVisible Shows or hides the cancel button, that closes the view.
isCancelButtonVisible Checks if the cancel button, that closes the view, is visible.
setFlashlightButtonVisible Shows or hides the flashlight button.
isFlashlightButtonVisible Checks if the button of flashlight is shown.
setCaptureButtonVisible Shows or hides the button for taking photo manually.
isCaptureButtonVisible Checks if the button for manual capture is visible.
setGalleryButtonVisible Shows or hides the button for choosing an image from photo gallery.
isGalleryButtonVisible Checks if the button for choosing an image from photo gallery is visible.
setTheme Deprecated. Sets a color theme for the user interface.
getTheme Deprecated. Returns current color theme of the user interface.
setCustomColor Sets a custom color of the button for manual taking photo.
getCustomColor Returns defined color of the button for manual taking photo.

Nested classes

Name Description
Theme Deprecated. The user interface theme.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.