Class CreditCardScannerScreenConfiguration

Configuration of the screen for detecting credit card data.

Constructors

Properties

Configuration of the action bar.

backgroundColor: string

The background color of the credit card scanner screen.

Default is "?sbColorSurfaceLow"

cameraConfiguration: CameraConfiguration

Configuration of the camera behavior.

cameraPermission: CameraPermissionScreen

Configuration of the dialog for requesting camera permissions.

exampleOverlayVisible: boolean

Flag to show or hide the preset button.

Default is true

incompleteDataOverlay: ScanCompletionOverlay

Configuration of the success overlay.

Configuration of the introduction screen for the credit card scanner.

keepScreenOn: boolean

If enabled, the screen will not turn off while the credit card scanner is active.

Default is true

Configuration of the all strings for credit card scanner screen.

palette: Palette

Define the screen's base color values from which other colors are derived.

scanIncompleteDataTimeout: number

Timeout for the scan process. If the scan process takes longer than this value, the incomplete result will be returned.

Default is 3000

scanStatusUserGuidance: CreditCardScanGuidanceConfiguration

Configuration of the user guidance for the scanning status.

scannerConfiguration: CreditCardScannerConfiguration

Configuration for the credit card recognizer.

Configuration of visualization of the scanning progress.

screen: string

The configuration object should be applied for this screen.

Default is "CreditCardScanner"

sound: Sound

Configuration of the scan confirmation sound.

successOverlay: ScanCompletionOverlay

Configuration of the success overlay.

Configuration of the top bar on the credit card scanner screen.

topBarOpenIntroScreenButton: IconButton

Configuration of the button in the top bar that opens the introduction screen.

topUserGuidance: UserGuidanceConfiguration

Configuration of the top user guidance.

version: string

Version number of the configuration object.

Default is "1.0"

vibration: Vibration

Configuration of the vibration feedback.

Configuration of the view finder.