ChipReadStep

The steps of a chip read, for telemetry.

May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Entries

Link copied to clipboard

Reading a file.

Link copied to clipboard

Running PACE.

Link copied to clipboard

Running BAC.

Link copied to clipboard

Selecting the eMRTD application.

Link copied to clipboard

Running chip authentication.

Link copied to clipboard

Running active authentication.

Link copied to clipboard

Running the passive-authentication checks (no chip command).

Link copied to clipboard

The whole read.

Link copied to clipboard

Setting the text of the system NFC sheet on iPhone. Reported only when one setting took longer than 500 milliseconds: ChipReadStepOutcome.SUCCEEDED when it returned, with the time it took, or ChipReadStepOutcome.FAILED when it had not returned a second after the read's ending, with the time so far. Each slow setting is reported once; the event never holds the text.

Link copied to clipboard

The system ended the NFC reader session on iPhone on its own: not at the read's request. Reported once per session, with ChipReadStepOutcome.FAILED, the time since the session began, and Core NFC's raw NFCReaderError code in ChipReadEvent.systemCode (null when the error was not of Core NFC's domain). The SDK reports the number and does not interpret it. Codes from Core NFC's header (NFCError.h): 200 the person tapped Cancel, 201 the session's 60-second limit passed, 202 the session ended unexpectedly, 203 the system is busy, 1 NFC not supported, 2 the entitlement or Info.plist entries are missing, 6 the radio is off, 7 the system setting or hardware is not eligible, 8 the person has not answered the request to use the reader. On Android there is no such event.

Link copied to clipboard

On iPhone: the read closed its NFC reader session before any document was reported and opened a new one (ChipReadState.RenewingSession). Reported once per new session, with ChipReadEvent.renewal (which new session, from 1), the reason in ChipReadEvent.systemCode (202 when the system ended the old session with that code, null when the read ended it because no document was reported in time), and the time from the decision to the new session's begin. ChipReadStepOutcome.SUCCEEDED when the new session began, ChipReadStepOutcome.FAILED when the system kept refusing it as busy and the read ended. On Android there is no such event.

Link copied to clipboard

On iPhone: the read stopped using the tag between two commands and asked the system for a fresh connection to the same document, before the system's limit on one tag connection (see CoreNfcReadSettings.tagTimeLimitMillis). Reported once per handover, with ChipReadStepOutcome.SUCCEEDED and, in ChipReadEvent.durationMillis, how long the connection to the tag had lasted. The read goes on from where it was, with no restart used. On Android there is no such event.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.