MrzFallbackConfiguration

data class MrzFallbackConfiguration(var acceptedCountries: List<String> = listOf( ), var acceptedMRZTypes: List<MrzDocumentType> = listOf( )) : DocumentDataExtractorConfigurationElement, Parcelable

MRZ fallback configuration element. This configuration element does not enable the scanning of any document types by itself. Add to extractor configuration to enable recognizing the MRZ only, specifically for documents that are otherwise not supported. Note that this may enable scanning of documents that were not enabled through the accepted document types.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(acceptedCountries: List<String> = listOf( ), acceptedMRZTypes: List<MrzDocumentType> = listOf( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

List of ISO 3166-1 alpha-3 country codes for which the MRZ fallback is enabled. (e.g. "DEU" for Germany).

Link copied to clipboard

List of MRZ document types for which MRZ fallback is enabled.

Functions

Link copied to clipboard
open override fun clone(): MrzFallbackConfiguration
Link copied to clipboard
open override fun toJson(config: ToJsonConfiguration): JSONObject