ScannerTypography

data class ScannerTypography(val onboardingTitle: TextStyle? = null, val onboardingText: TextStyle? = null, val onboardingButton: TextStyle? = null, val helpDialogTitle: TextStyle? = null, val helpDialogText: TextStyle? = null, val helpDialogButton: TextStyle? = null, val errorDialogTitle: TextStyle? = null, val errorDialogText: TextStyle? = null, val errorDialogButton: TextStyle? = null, val scanningInstructions: TextStyle? = null, val helpTooltip: TextStyle? = null, val loadingScreen: TextStyle? = null, val faceCaptureInstructions: TextStyle? = null)

The fonts 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. A style's color may be ignored, because the scanner screens take their text colors from ScannerColors.

Constructors

Link copied to clipboard
constructor(onboardingTitle: TextStyle? = null, onboardingText: TextStyle? = null, onboardingButton: TextStyle? = null, helpDialogTitle: TextStyle? = null, helpDialogText: TextStyle? = null, helpDialogButton: TextStyle? = null, errorDialogTitle: TextStyle? = null, errorDialogText: TextStyle? = null, errorDialogButton: TextStyle? = null, scanningInstructions: TextStyle? = null, helpTooltip: TextStyle? = null, loadingScreen: TextStyle? = null, faceCaptureInstructions: TextStyle? = null)

Properties

Link copied to clipboard

The button of the error dialog.

Link copied to clipboard

The body text of the error dialog.

Link copied to clipboard

The title of the error dialog.

Link copied to clipboard

The face screen's guidance ("Move closer", "Center your face"). Its color is always white. Its wording comes from the Biometrics string resources mb_biom_guidance_*, which an app can override with strings of the same name.

Link copied to clipboard

The button of the help dialog.

Link copied to clipboard

The body text of the help dialog.

Link copied to clipboard

The title of the help dialog.

Link copied to clipboard

The help tooltip.

Link copied to clipboard

The loading screen.

Link copied to clipboard

The button of the onboarding screen.

Link copied to clipboard

The body text of the onboarding screen.

Link copied to clipboard

The title of the onboarding screen.

Link copied to clipboard

The guidance over the camera on the document and card scanners.