UiSettings
Configuration settings for the scanning UI.
Allows customization of various aspects of the UI used during the scanning process, such as typography, color schemes, reticle colors, string resources, and dialogs.
Constructors
Properties
The ColorScheme to be used in the scanning UI. If left null
, the theme will be applied based on the device settings (dark or light mode). Setting this value will overwrite the default behavior and the user will be responsible for handling theming based on device settings. Defaults to null
.
The SdkStrings containing text strings for the scanning UI, such as scanning strings and help dialog strings. Defaults to com.microblink.ux.theme.SdkStrings.Default.
A boolean indicating whether to show a help button and enable help screens during the scanning session. Defaults to DefaultShowHelpButton.
A boolean indicating whether to show an onboarding dialog at the beginning of the scanning session. Defaults to DefaultShowOnboardingDialog.
The Typography to be used in the scanning UI. Defaults to com.microblink.ux.theme.UiTypography which uses default OS font. Defaults to null
.
The UiColors to be used for graphical elements of scanning the UI. If left null
, the theme will be applied based on the device settings (dark or light mode). Setting this value will overwrite the default behavior and the user will be responsible for handling theming based on device settings. Defaults to null
.