Entries

Link copied to clipboard

The read has ended: release the link.

Link copied to clipboard

The link was lost and the read goes on: release the link and wait for the document.

Link copied to clipboard

The chip did not answer before the attempt sent the first command that uses the key, and the read goes on with no restart used (ChipReadState.NoAnswerYet): release the link and try the same document again soon, within the platform's time bound for such tries; when it passes, call ChipReadCoordinator.documentNotReturned.

Link copied to clipboard

The platform stopped the attempt on purpose, between two commands, to get a fresh connection to the same document (the handedOver hook of ChipReadCoordinator.read): no restart is used and the app sees no new state. Release the link, ask for the document again, and call ChipReadCoordinator.read on the new link: it continues from what was read. When the document does not come back within the platform's short wait, call ChipReadCoordinator.handoverFailed.

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.