Module: playerapi/quiz/AnswerContext

This context provides methods for a quiz answer.
Usually a answer is according to a question.

Methods

<inner> isCorrectSelectionRequired() → {boolean}

Gets the condition for the selection evaluation.

Returns:

true if the quiz object must be selected for the correct answer, otherwise false.

Type
boolean

<inner> isSelected() → {boolean}

Gets the current selection state.

Returns:

true if the quiz object was selected by the user, otherwise false.

Type
boolean