Stay organized with collections Save and categorize content based on your preferences.

androidx.media3.exoplayer.analytics

Interfaces

AnalyticsCollector

Interface for data collectors that forward analytics events to AnalyticsListeners.

AnalyticsListener

A listener for analytics events.

PlaybackSessionManager

Manager for active playback sessions.

PlaybackSessionManager.Listener

A listener for session updates.

PlaybackStatsListener.Callback

A listener for PlaybackStats updates.

Classes

AnalyticsListener.EventTime

Time information of an event.

AnalyticsListener.Events

A set of EventFlags.

DefaultAnalyticsCollector

Data collector that forwards analytics events to AnalyticsListeners.

DefaultPlaybackSessionManager

Default PlaybackSessionManager which instantiates a new session for each window in the timeline and also for each ad within the windows.

MediaMetricsListener

An AnalyticsListener that interacts with the Android MediaMetricsManager.

PlaybackStats

Statistics about playbacks.

PlaybackStats.EventTimeAndException

Stores an exception with the event time at which it occurred.

PlaybackStats.EventTimeAndFormat

Stores a format with the event time at which it started being used, or null to indicate that no format was used.

PlaybackStats.EventTimeAndPlaybackState

Stores a playback state with the event time at which it became active.

PlaybackStatsListener

AnalyticsListener to gather PlaybackStats from the player.

PlayerId

Identifier for a player instance.

Annotations

AnalyticsListener.EventFlags

Events that can be reported via onEvents.