You can retrieve a list of the events logged by the SDK.
For the current session
mobilelocker.getSessionEvents()
.then(events => {
// do something with the events
});
// The legacy SDk does not have a function but you can do it manually:
$.get('mobilelocker/api/session/events', function(events) {
// do something with the events
});
All events in all sessions for the presentation on this device.
mobilelocker.getPresentationEvents()
.then(events => {
// do something with the events
});
// The legacy SDk does not have a function but you can do it manually:
$.get('mobilelocker/api/presentation/events', function(events) {
// do something with the events
});
The Kazaamax Starter presentation demonstrates this functionality. After performing several actions that logged events, it displays those events in a table.
![sdk-1.png 2020](https://files.readme.io/a1bbb3a-sdk-1.png)
The Kazaamax Starter presentation demonstrates this functionality.