CanKeyResult

What ChipAccessKey.Can.from gives back: the key, or the fact that no key could be made, and why. It has the same shape as MrzKeyResult, so an app handles both kinds of key the same way: show the problem to the person, or take the key.

Nothing is thrown for a number that is not usable: that is a normal answer to show the person, not a bug.

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

Inheritors

Types

Link copied to clipboard

The key was made.

Link copied to clipboard

No key could be made.