ANDROID FAQ: How can I set up third-party analytics with the Android SDK? (Android v4)

Answer: Use the setAnalyticsListener() to expose ExoPlayer's AnalyticsListener interface.

The SDK for Android offers a setAnalyticsListener() method which exposes ExoPlayer’s AnalyticsListener interface. With access to the AnalyticsListener interface, plugin developers can listen for and report on different player events.

The Conviva Integration Demo best practice app demonstrates how to use the AnalyticsListener for retrieving third-party analytics.