Initialization Object
The Initialization
object is a JSON object which is passed as the first parameter into the window.LearnosityAssess.init() method.
It includes all the information needed for Authentication, User Identification, Action Builder, and UI elements such as Table of Contents or various buttons. Only a few attributes are mandatory, the rest provide a high level of customization to enable you to tailor the Assessment experience to suit your needs.
Properties
= mandatory property
-
configuration object
Enables various customizations such as redirect URLs and reading time settings.
-
existing_session boolean
By default, Assess API uses the value of the Activity state inside questionsApiActivity to determine whether current session is a new session, or is an existing session.
-
metadata object
Contains information related to the current session, such as the current time and the current Item, for example.
-
name string
The name of the Activity that will be displayed in Learnosity's Reports API and Data API.
-
navigation object
Customize navigational attributes are available to the user interacting with the player.
-
questionsApiActivity object
Data from this object is passed to the Learnosity Questions API during initialization.
-
region_overrides RegionsObject
Directly override the assessment player interface regions, region elements, or region element options.
-
responsive_regions boolean
By default, the assessment player's regions are rendered to be responsive to different device screen resolutions.