WordCheck

@Serializable
enum WordCheck : Enum<WordCheck> (source)

The persisted result of checking one printed word.

These raw spellings are part of the stored-data contract.

Entries

Link copied to clipboard
@SerialName(value = "close")
CLOSE

A near miss was aligned with the word.

Link copied to clipboard
@SerialName(value = "correct")
CORRECT

The word was faithfully heard.

Link copied to clipboard
@SerialName(value = "wrong")
WRONG

No faithful or near matching word was heard.

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
Link copied to clipboard
Link copied to clipboard

The stored spelling of the result.

Functions

Link copied to clipboard
fun valueOf(value: String): WordCheck

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.