FaceSessionInfo

@Serializable
data class FaceSessionInfo(val mode: String? = null, val smile: Boolean? = null, val deviceOrientation: String? = null, val warnings: List<String>? = null, val jpegQuality: Int? = null, val totalDuration: Long, val autoTries: Int? = null, val manualTries: Int? = null) : MibiData.SessionInfo

Information about a Face session.

Constructors

Link copied to clipboard
constructor(mode: String? = null, smile: Boolean? = null, deviceOrientation: String? = null, warnings: List<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

The device 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
val mode: String? = null

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

Link copied to clipboard
val smile: Boolean? = null

Whether the smile trigger was configured for the session 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.