The SCORM API displays appropriate error results when a Course attempts to initialize the API after an initialization error has occurred.
The initialization of the Course API occurs two times. The first unsuccessful attempt to load the API displays a message to Users stating that the system will re-initialize the API again. If the first attempt is successful, the message is not displayed. On the second attempt to initialize the API, if unsuccessful, it displays the same error information with a new customizable message appended.
The following error message displays the first unsuccessful attempt of initializing the API with a message that is not customizable. When Users click OK, LearnCenter attempts to load the SCORM API again. If you click the Windows close button, it also attempts to load the SCORM API again.
When LearnCenter attempts to initialize the API on the second attempt and it is unsuccessful, it displays the default message that was added in the Course Options - SCORM panel in Configuration Options. If Users click OK, it continues to the Course. However, if the Course is conformant to the SCORM standards, when it reads the result from the SCORM API's initialization function which is 'false', it will not attempt to communicate with the SCORM API with additional commands. If a User clicks Cancel, it closes the Course if it is SCORM 1.2/AICC or suspends the activity tree if it is a SCORM 2004 Course. If a User clicks the Windows close button, it simulates the same behavior as if a User clicked Cancel. The example below does not display the Cancel option because the Close Course on Initialization Failure check box in SCORM Settings was selected.
The SCORM 2004 2nd edition RTE book pertaining to cmi.session_time was implemented into the SCORM 2004 2nd edition API to internally keep track of the cmi.session_time and use the tracked value if the SCO never sets this value itself. This ensures that there is always a tracked accumulated duration for SCORM 2004 Courses that are reflected in the WBT Course Content Duration report. The system gets the current timestamp at the time the SCORM API is initialized and the current timestamp at the time the SCORM API is terminated and then calculating the difference between both times and converting that difference to the correct format to set for cmi.session_time. If the SCO decides to supply its own value, the LMS SCORM 2004 API must use that value and discard the internal tracked value, meaning that no calculation occurs by the LearnCenter using the timestamps gathered and are discarded and the value supplied by the SCO is used instead
Copyright © 2010-2018, Oracle and/or its affiliates. All rights reserved.