Saltar al contenido principal

Function: scorm()

function scorm(
context,
siteUrl,
activityId
): Promise<ScormActivity>;

Defined in: areas/scorm/scorm.ts:167

A SCORM activity as the person sees it: its attempts (allowed and made), the grading method, the grade reported and each attempt's, and its SCOs with the person's status and score in the last attempt. Moodle doesn't show a SCORM's version on its page: openScorm tells it.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring
activityIdnumber

Returns​

Promise<ScormActivity>