on Event
Callback for analytics events. This method is called by PSPDFKit as soon as an analytics event was triggered. This method will be called on a background thread, dedicated to the analytics client.
Parameters
name
Name of the event. See Analytics.Event for a complete list of available events.
data
Bundle with event data. The actual data depends on the event. See for a list of possible keys.