BarcodeSessionInfo

@Serializable
data class BarcodeSessionInfo(val barcodeType: String? = null, val deviceOrientation: String? = null, val documentOrientation: String? = null, val jpegQuality: Int? = null, val totalDuration: Long, val autoTries: Int? = null, val manualTries: Int? = null) : MibiData.SessionInfo

Information about a Barcode session.

Constructors

Link copied to clipboard
constructor(barcodeType: String? = null, deviceOrientation: String? = null, documentOrientation: String? = null, jpegQuality: Int? = null, totalDuration: Long, autoTries: Int? = null, manualTries: Int? = 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
val barcodeType: String? = null

The type of barcode scanned in the session, values: "QR", "DATA_MATRIX", "RSS", "39", "128", "PDF417", "AZTEC", "2_OF_5", "93", "CODABAR".

Link copied to clipboard

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

Link copied to clipboard

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

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
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".