Initialized object

Indicates successful initialization of the player widget. This may include a current and highest proficiency, or a progress in case of a test.

If there is an authenticated user, the details for the user are also included.

Examples

A drill including proficiency (current and highest) and total time spent in seconds:

{
  "type": "DRILL",
  "proficiency": {
    "current": 42,
    "highest": 82
  },
  "timeSpent": 542
}

A story including the readers progress expressed as a percentage:

{
  "type": "STORY",
  "progress": 100
}
{
  "type": "COURSE",
  "proficiency": {
    "current": 42,
    "highest": 82
  },
  "progress": 86,
  "timeSpent": 542
}
{
  "type": "TEST",
  "progress": 75
}

In case of a completed test, the event may also include the outcome of the test. For drills, an estimate of the time spent on it by the learner, expressed in seconds, is included.

{
  "type": "TEST",
  "progress": 100,
  "result": {
    "score": 95,
    "transformations": [
      {
        "id": "narrative",
        "result": "very good"
      },
      {
        "id": "outcome",
        "passed": true,
        "result": "passed"
      }
    ]
  }
}