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.getReport('my-live-report-id').on('consumed', function () {
console.log('This code executes when an audio player has stopped or completed playback.');
});