consumed - Events - Reports API

Reports API Events

consumed

Fires when an audio player has completed playing the audio or was stopped when using the live progress report. This report is primarily for monitoring learner progress during proctored assessments. It is updated based on live interactions of learners with their assessments in real time.

You would want to be notified about this event firing to take some action when the audio has stopped playing, for example.

Examples

reportsApp.report('my-live-report-id').on('consumed', function () {
    console.log('This code executes when an audio player has stopped or completed playback.');
});

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.