MrzScannerResult

data class MrzScannerResult(val success: Boolean = false, val rawMRZ: String, val document: GenericDocument?) : AutoCloseable

Container for result of MRZ scanning attempt.

Constructors

Link copied to clipboard
constructor(success: Boolean = false, rawMRZ: String, document: GenericDocument?)
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Generic document containing MRZ data.

Link copied to clipboard

Raw string value of MRZ.

Link copied to clipboard

Scanning successful.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String