Builder

class Builder

Collects MrzScannerConfig options. Use the MrzScannerConfig function instead of calling it directly.

Since

0.5.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Sets MrzScannerConfig.acceptedDocumentTypes, the app's intake rule. Default: every DocumentCategory. Must not be empty. With a set that is not every category, a reading whose kind the SDK cannot tell is treated like a kind outside the set; with the default it goes to review as usual.

Link copied to clipboard

Sets MrzScannerConfig.consensusReads. Default 2. Must be at least 1.

Link copied to clipboard

Sets MrzScannerConfig.enabledMethods. Default: camera and manual entry.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Builds the immutable MrzScannerConfig.

Link copied to clipboard
fun theme(configure: MrzScannerTheme.Builder.() -> Unit)

Sets the MrzScannerConfig.theme options in configure.