"cmi5 defined" Statement methods
The core "cmi5 defined" statement methods for communicating module status.
Initializes the session, must be called before performing other methods.
import Cmi5 from "@xapi/cmi5";
const cmi5 = new Cmi5();
cmi5.initialize();
This returns a
Promise
containing an array with the resulting statementId if successful.Completes the AU. Required for satisfaction if
LaunchData.moveOn
is equal to Completed
, CompletedAndPassed
or CompletedOrPassed
.import Cmi5 from "@xapi/cmi5";