ChipResumeOutcome

What a read did with the files of earlier attempts after a lost link (LinkLossPolicy.Resume), or with the files of the same attempt after a planned handover to a fresh connection on iPhone (CoreNfcReadSettings.tagTimeLimitMillis), which follows the same rule.

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

No earlier attempt or connection to continue from: the first attempt on its first connection, or a policy other than LinkLossPolicy.Resume.

Link copied to clipboard

EF.SOD read again in this attempt is byte for byte the one from the attempt before, so the data groups already read were kept (each ChipFile.attempt says which attempt read it).

Link copied to clipboard

EF.SOD read again differs from the one from the attempt before: the chip is not the same document, or its signed data changed. Nothing from earlier attempts was kept; the read started over.

Link copied to clipboard

EF.SOD was not read whole in this attempt or in the attempt before, so nothing could show it is the same document. Nothing from earlier attempts was kept; the read started over.

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.