com.pspdfkit.analytics.AnalyticsClient |
Interface of a client that can receive analytics data. Register implementations of this interface
via addAnalyticsClient(AnalyticsClient)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onEvent(String name, Bundle data)
Callback for analytics events.
|
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.
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 Analytics.Data for a list of possible keys.
|