Module: standardPlayer/QuizQuestionContext

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

See:

Methods

<inner> getAnswers() → {Array.<QuizAnswerContext>}

Gets an array with all quiz answers corresponding to the question.

Returns:

An array of all quiz objects. An empty array, if no quiz-object exists in the page.

Type
Array.<QuizAnswerContext>

<inner> getMaxScore() → {number}

Gets the maximum reachable score for the page.

Returns:

The maximum score

Type
number

<inner> getPageMetadata() → {Page}

Gets the meta data for the page.

See:
Returns:

The page according to the question.

Type
Page

<inner> getScore() → {number}

Gets the user score for the page.

Returns:

The Score

Type
number

<inner> getStatus() → {string}

Gets the quiz status.

Returns:

Possible values are: "correct", "partially_correct", "failed" or "unknown"

Type
string