Companion

object Companion

Constants for ChipReadEvent.

Properties

Link copied to clipboard
const val EVENT_NAME: String

The event name: emrtd.chip.step.

Functions

Link copied to clipboard

An event for a step that a platform module times itself, such as ChipReadStep.SHEET_TEXT on iPhone: only the step, how it ended and how long it took.

Link copied to clipboard
fun sessionEnd(systemCode: Int?, durationMillis: Long): ChipReadEvent

A ChipReadStep.SESSION_END event: the platform ended its reader session on its own, with systemCode, durationMillis after the session began. The outcome is ChipReadStepOutcome.FAILED: the session ended without the read asking for it.

Link copied to clipboard
fun sessionRenew(renewal: Int, systemCode: Int?, outcome: ChipReadStepOutcome, durationMillis: Long): ChipReadEvent

A ChipReadStep.SESSION_RENEW event: the read opened a new reader session, or could not.

Link copied to clipboard

A ChipReadStep.TAG_HANDOVER event: the read stopped using the tag between two commands and asked the system for a fresh connection to it, tagMillis after the system reported the tag. The outcome is ChipReadStepOutcome.SUCCEEDED: the handover was made.