NfcSessionInfo

@Serializable
data class NfcSessionInfo(val documentCode: String? = null, val issuingCountry: String? = null, val nationality: String? = null, val issueDate: String? = null, val unlock: String? = null, val ca: MibiData.NfcChipAuthentication? = null, val warnings: List<List<String>>? = null, val dgs: List<String>? = null, val optionalDataRedacted: Boolean? = null, val totalDuration: Long, val tries: Int? = null) : MibiData.SessionInfo

Information about an NFC session.

Constructors

Link copied to clipboard
constructor(documentCode: String? = null, issuingCountry: String? = null, nationality: String? = null, issueDate: String? = null, unlock: String? = null, ca: MibiData.NfcChipAuthentication? = null, warnings: List<List<String>>? = null, dgs: List<String>? = null, optionalDataRedacted: Boolean? = null, totalDuration: Long, tries: Int? = null)

Properties

Link copied to clipboard

Information about the chip authentication of the document.

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

A list of the data groups read from the NFC chip.

Link copied to clipboard
val documentCode: String? = null

The MRZ document code identifier.

Link copied to clipboard
val issueDate: String? = null

The formatted issue date of the document.

Link copied to clipboard
val issuingCountry: String? = null

The MRZ issuing country identifier.

Link copied to clipboard
val nationality: String? = null

The MRZ nationality identifier.

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
val tries: Int? = null

The number of times the user attempted NFC reading on the document.

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 unlock: String? = null

The NFC chip unlock method, values: "PACE", "BAC".

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

Information about warnings and errors encountered during the NFC chip reading process.