QuestionKind

@ApiStatus.Experimental
enum QuestionKind : Enum<QuestionKind>

The closed set of question kinds. Each kind fixes the result type of its questions.

Entries

Link copied to clipboard

A true-or-false question, answered with a PropositionResult.

Link copied to clipboard

A pick-one question over a closed set of options, answered with a ClassificationResult.

Link copied to clipboard

A question over an ordered scale of levels, answered with a RatingResult.

Properties

Link copied to clipboard
Link copied to clipboard

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.