UiConfiguration

data class UiConfiguration(val colorScheme: ColorScheme = MbpColorScheme, val typography: MicroblinkPlatformTypography = MicroblinkPlatformTypography.default(), val scannerTypography: ScannerTypography? = null, val images: MicroblinkPlatformImages = MicroblinkPlatformImages(), val buttonShape: Shape = CircleShape)

UI settings for the Microblink Platform SDK.

Constructors

Link copied to clipboard
constructor(colorScheme: ColorScheme = MbpColorScheme, typography: MicroblinkPlatformTypography = MicroblinkPlatformTypography.default(), scannerTypography: ScannerTypography? = null, images: MicroblinkPlatformImages = MicroblinkPlatformImages(), buttonShape: Shape = CircleShape)

Properties

Link copied to clipboard

Shape of every button on the drop-in screens: each screen's main button, the form's and the upload screens' buttons, and the buttons of their dialogs.

Link copied to clipboard

Colors of the verification screens. Its primary, onPrimary, surface and onSurface also color the scanner and face screens.

Link copied to clipboard

Images of the verification screens.

Link copied to clipboard

Text styles of the scanner and face screens. A style replaces that text's whole default style, so set its size too; a null style keeps the SDK's own.

Link copied to clipboard

Text styles of the verification screens, one per kind of text.