Scenario 4

Due to the requirements of the project, the learner must have the ablility to use audio captioning during the interaction with the SCO.

Using Learner Preference, complete the code to allow the learner to enable audio captioning during the time in the specific SCO.

if (auidoCaptioningOn == "true")
{
SetValue("cmi.learner_preference","1");
}
else if (audioCaptioningOn == "false")
{
SetValue("cmi.learner_preference","-1");
}
else
{
SetValue("cmi.learner_preference","0");
}

Click after you complete the code.