I'm trying to locate where in the src code events are triggered that make SCORM calls to an LMS. When I launch my course, I can see the connection initialization.
connection.initialize called.
SCORM.API.find: API found. Version: 1.2
API: [object Object]
SCORM.data.get(cmi.suspend_data) value: {"spoor":{"completion":"---------------1111111111101111111101111111111111111101111111111111111111111111","_isCourseComplete":false,"_isAssessmentPassed":false}}
I know the code for the above output is in \src\extensions\adapt-contrib-spoor\js\SCORM_API_wrapper.js, but where is the event handler that calls that method?
I'm just looking to understand how communication gets triggered between the course and the LMS.