DocumentSessionInfo

@Serializable
data class DocumentSessionInfo(val docType: String? = null, val classificationType: String? = null, val mrzExtracted: Boolean? = null, val optionalDataRedacted: Boolean? = null, val enhancedManual: Boolean? = null, val mode: String? = null, val fourCorners: Array<IntArray>? = null, val deviceOrientation: String? = null, val documentOrientation: String? = null, val warnings: List<String>? = null, val jpegQuality: Int? = null, val totalDuration: Long, val autoTries: Int? = null, val manualTries: Int? = null, val iqasRequired: Boolean? = null) : MibiData.SessionInfo

Information about a Document session.

Constructors

Link copied to clipboard
constructor(docType: String? = null, classificationType: String? = null, mrzExtracted: Boolean? = null, optionalDataRedacted: Boolean? = null, enhancedManual: Boolean? = null, mode: String? = null, fourCorners: Array<IntArray>? = null, deviceOrientation: String? = null, documentOrientation: String? = null, warnings: List<String>? = null, jpegQuality: Int? = null, totalDuration: Long, autoTries: Int? = null, manualTries: Int? = null, iqasRequired: Boolean? = null)

Properties

Link copied to clipboard
val autoTries: Int? = null

The number of times the user attempted the session in auto mode.

Link copied to clipboard
Link copied to clipboard

The device orientation, values: "Landscape", "Portrait".

Link copied to clipboard
val docType: String? = null

The document type used in the session, values: "Check_Front", "Check_Back", "ID_Front", "ID_Back", "Passport", "Generic".

Link copied to clipboard

The document orientation, values: "Landscape", "Portrait".

Link copied to clipboard
val enhancedManual: Boolean? = null

Whether "enhanced manual" mode was requested or not.

Link copied to clipboard
val fourCorners: Array<IntArray>? = null

The four corner data of the document as a 2D array.

Link copied to clipboard
val jpegQuality: Int? = null

The jpeg quality value from 0 to 100 applied to the final image.

Link copied to clipboard
val manualTries: Int? = null

The number of times the user attempted the session in manual mode.

Link copied to clipboard
val mode: String? = null

The session mode at the time of completion, values: "Auto", "Manual", "ForcedAuto".

Link copied to clipboard
val mrzExtracted: Boolean? = null

Whether MRZ data was extracted or not.

Link copied to clipboard

Whether BSN was redacted out of applicable NLD documents or not.

Link copied to clipboard
open override val totalDuration: Long

The total duration of the session in milliseconds.

Link copied to clipboard
open override val type: String

The type of the session, values: "Document", "Barcode", "Face", "NFC", "Voice".

Link copied to clipboard
val warnings: List<String>? = null

A list of strings with warnings about the IQAs of the final image.